Browse Source
* sim/mips/basic.exp (run_hilo_test): New procedure. (models): Only list models that are included in the configuration. (submodels): New variable, set to submodels of the above. (mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza. Run hilo-hazard-[123].s.jimb-rda-nptl-branch
5 changed files with 107 additions and 4 deletions
@ -0,0 +1,19 @@ |
|||
# Test for architectures with mf{hi,lo} -> mult/div/mt{hi,lo} hazards. |
|||
# |
|||
# mach: mips1 mips2 mips3 mips4 vr4100 vr4111 vr4120 vr5000 vr5400 |
|||
# as: -mabi=eabi |
|||
# ld: -N -Ttext=0x80010000 |
|||
# output: HILO: * too close to MF at *\\n\\nprogram stopped*\\n |
|||
# xerror: |
|||
|
|||
.include "hilo-hazard.inc" |
|||
.include "testutils.inc" |
|||
|
|||
setup |
|||
|
|||
.set noreorder |
|||
.ent DIAG |
|||
DIAG: |
|||
hilo |
|||
pass |
|||
.end DIAG |
|||
@ -0,0 +1,18 @@ |
|||
# Test for architectures without mf{hi,lo} -> mult/div/mt{hi,lo} hazards. |
|||
# |
|||
# mach: vr5500 mips32 mips64 |
|||
# as: -mabi=eabi |
|||
# ld: -N -Ttext=0x80010000 |
|||
# output: pass\\n |
|||
|
|||
.include "hilo-hazard.inc" |
|||
.include "testutils.inc" |
|||
|
|||
setup |
|||
|
|||
.set noreorder |
|||
.ent DIAG |
|||
DIAG: |
|||
hilo |
|||
pass |
|||
.end DIAG |
|||
@ -0,0 +1,18 @@ |
|||
# Test for mf{hi,lo} -> mult/div/mt{hi,lo} with 2 nops inbetween. |
|||
# |
|||
# mach: all |
|||
# as: -mabi=eabi |
|||
# ld: -N -Ttext=0x80010000 |
|||
# output: pass\\n |
|||
|
|||
.include "hilo-hazard.inc" |
|||
.include "testutils.inc" |
|||
|
|||
setup |
|||
|
|||
.set noreorder |
|||
.ent DIAG |
|||
DIAG: |
|||
hilo |
|||
pass |
|||
.end DIAG |
|||
Loading…
Reference in new issue