ftmemsim-valgrind/none/tests/mips32/LoadStore.stdout.exp-r6-BE
Petar Jovanovic 9fc2bfba5c mips: add tests for mips32/mips64 R6
This set of tests covers MIPS r6 specific instructions:

  none/tests/mips32/MIPS32r6int
  none/tests/mips32/branch_pc
  none/tests/mips32/branches_r6
  none/tests/mips32/fp_r6
  none/tests/mips32/pc_instructions_r6

  none/tests/mips64/MIPS64r6int
  none/tests/mips64/branch_pc
  none/tests/mips64/branches_r6
  none/tests/mips64/fp_r6
  none/tests/mips64/pc_instructions_r6
  none/tests/mips64/r6_instructions

The following tests had to be changed to be applicaple for Rev6:

  none/tests/libvex_test.c

  none/tests/mips32/LoadStore
  none/tests/mips32/LoadStore1
  none/tests/mips32/MIPS32int
  none/tests/mips32/MoveIns
  none/tests/mips32/branches
  none/tests/mips32/change_fp_mode
  none/tests/mips32/mips32_dsp
  none/tests/mips32/vfp

  none/tests/mips64/arithmetic_instruction
  none/tests/mips64/branches
  none/tests/mips64/fpu_arithmetic
  none/tests/mips64/fpu_load_store
  none/tests/mips64/load_store
  none/tests/mips64/load_store_multiple
  none/tests/mips64/move_instructions

The following tests are not applicable for Rev6:

  none/tests/mips32/fpu_branches
  none/tests/mips32/unaligned_load_store

  none/tests/mips64/branch_and_jump_instructions
  none/tests/mips64/change_fp_mode
  none/tests/mips64/fpu_branches
  none/tests/mips64/load_store_unaligned
  none/tests/mips64/unaligned_load
  none/tests/mips64/unaligned_load_store.

Contributed by:
  Tamara Vlahovic, Aleksandar Rikalo and Aleksandra Karadzic.

Related BZ issue - #387410.
2018-02-01 18:37:28 +01:00

172 lines
7.7 KiB
Plaintext

sb
sb $t0, 0($t1) :: RTval: 0x0, out: 0x0
sb $t0, 0($t1) :: RTval: 0x0, out: 0x1f1e1f
sb $t0, 0($t1) :: RTval: 0x31415927, out: 0x27000000
sb $t0, 0($t1) :: RTval: 0x31415927, out: 0x271f1e1f
sb $t0, 0($t1) :: RTval: 0x7fffffff, out: 0xff000000
sb $t0, 0($t1) :: RTval: 0x7fffffff, out: 0xff1f1e1f
sb $t0, 0($t1) :: RTval: 0x80000000, out: 0x0
sb $t0, 0($t1) :: RTval: 0x80000000, out: 0x1f1e1f
sb $t0, 2($t1) :: RTval: 0x80000000, out: 0x0
sb $t0, 2($t1) :: RTval: 0x80000000, out: 0x1f0000
sb $t0, 6($t1) :: RTval: 0x7fffffff, out: 0xff000000
sb $t0, 6($t1) :: RTval: 0x7fffffff, out: 0xff000000
sb $t0, 10($t1) :: RTval: 0x7fffffff, out: 0xff000000
sb $t0, 10($t1) :: RTval: 0x7fffffff, out: 0xff03ffff
sb $t0, 8($t1) :: RTval: 0xffffffff, out: 0xff00ff00
sb $t0, 8($t1) :: RTval: 0xffffffff, out: 0xff00ff03
sb $t0, 0($t1) :: RTval: 0x31415927, out: 0x27000000
sb $t0, 0($t1) :: RTval: 0x31415927, out: 0x271f001f
sb $t0, 0($t1) :: RTval: 0xdd00000, out: 0x0
sb $t0, 0($t1) :: RTval: 0xdd00000, out: 0x1f001f
sb $t0, 0($t1) :: RTval: 0x28f, out: 0x8f000000
sb $t0, 0($t1) :: RTval: 0x28f, out: 0x8f1f001f
sb $t0, 0($t1) :: RTval: 0xfffffd71, out: 0x71000000
sb $t0, 0($t1) :: RTval: 0xfffffd71, out: 0x711f001f
sb $t0, 0($t1) :: RTval: 0xf, out: 0xf000000
sb $t0, 0($t1) :: RTval: 0xf, out: 0xf1f001f
sb $t0, 0($t1) :: RTval: 0x1, out: 0x1000000
sb $t0, 0($t1) :: RTval: 0x1, out: 0x11f001f
sb $t0, 0($t1) :: RTval: 0x35, out: 0x35000000
sb $t0, 0($t1) :: RTval: 0x35, out: 0x351f001f
sb $t0, 2($t1) :: RTval: 0xffffffff, out: 0xff000000
sb $t0, 2($t1) :: RTval: 0xffffffff, out: 0xff1f0000
sb $t0, 2($t1) :: RTval: 0xffffffff, out: 0xff000000
sb $t0, 2($t1) :: RTval: 0xffffffff, out: 0xff1f0000
sb $t0, 32($t1) :: RTval: 0xffffffff, out: 0xffffffff
sb $t0, 32($t1) :: RTval: 0xffffffff, out: 0xff343f3e
sb $t0, 36($t1) :: RTval: 0xffffffff, out: 0xff000000
sb $t0, 36($t1) :: RTval: 0xffffffff, out: 0xff353d3c
sb $t0, 40($t1) :: RTval: 0x31415927, out: 0x27000000
sb $t0, 40($t1) :: RTval: 0x31415927, out: 0x273a3c3b
sb $t0, 44($t1) :: RTval: 0x7fffffff, out: 0xff000000
sb $t0, 44($t1) :: RTval: 0x7fffffff, out: 0xff373b3a
sb $t0, 48($t1) :: RTval: 0x80000000, out: 0x0
sb $t0, 48($t1) :: RTval: 0x80000000, out: 0x4f4e45
sb $t0, 52($t1) :: RTval: 0x28f, out: 0x8f000000
sb $t0, 52($t1) :: RTval: 0x28f, out: 0x8f464d46
MEM1:
0x3500ff00, 0xff00, 0xff00ff00, 0x0
0x0, 0x0, 0x0, 0x0
0xffffffff, 0xff000000, 0x27000000, 0xff000000
0x0, 0x8f000000, 0x0, 0x0
MEM:
0x351fff1f, 0xff00, 0xff00ff03, 0xffffffff
0x232f2e2f, 0x242c2b2b, 0x252a2e2b, 0x262d2d2a
0xff343f3e, 0xff353d3c, 0x273a3c3b, 0xff373b3a
0x4f4e45, 0x8f464d46, 0x474d474c, 0x4a484a4c
sh
sh $t0, 0($t1) :: RTval: 0x0, out: 0x0
sh $t0, 0($t1) :: RTval: 0x0, out: 0x1e1f
sh $t0, 0($t1) :: RTval: 0x31415927, out: 0x59270000
sh $t0, 0($t1) :: RTval: 0x31415927, out: 0x59271e1f
sh $t0, 0($t1) :: RTval: 0x7fffffff, out: 0xffff0000
sh $t0, 0($t1) :: RTval: 0x7fffffff, out: 0xffff1e1f
sh $t0, 0($t1) :: RTval: 0x80000000, out: 0x0
sh $t0, 0($t1) :: RTval: 0x80000000, out: 0x1e1f
sh $t0, 2($t1) :: RTval: 0x80000000, out: 0x0
sh $t0, 2($t1) :: RTval: 0x80000000, out: 0x0
sh $t0, 6($t1) :: RTval: 0x7fffffff, out: 0xffff0000
sh $t0, 6($t1) :: RTval: 0x7fffffff, out: 0xffff0000
sh $t0, 10($t1) :: RTval: 0x7fffffff, out: 0xffff0000
sh $t0, 10($t1) :: RTval: 0x7fffffff, out: 0xffffffff
sh $t0, 8($t1) :: RTval: 0xffffffff, out: 0xffffffff
sh $t0, 8($t1) :: RTval: 0xffffffff, out: 0xffffffff
sh $t0, 0($t1) :: RTval: 0x31415927, out: 0x59270000
sh $t0, 0($t1) :: RTval: 0x31415927, out: 0x59270000
sh $t0, 0($t1) :: RTval: 0xdd00000, out: 0x0
sh $t0, 0($t1) :: RTval: 0xdd00000, out: 0x0
sh $t0, 0($t1) :: RTval: 0x28f, out: 0x28f0000
sh $t0, 0($t1) :: RTval: 0x28f, out: 0x28f0000
sh $t0, 0($t1) :: RTval: 0xfffffd71, out: 0xfd710000
sh $t0, 0($t1) :: RTval: 0xfffffd71, out: 0xfd710000
sh $t0, 0($t1) :: RTval: 0xf, out: 0xf0000
sh $t0, 0($t1) :: RTval: 0xf, out: 0xf0000
sh $t0, 0($t1) :: RTval: 0x1, out: 0x10000
sh $t0, 0($t1) :: RTval: 0x1, out: 0x10000
sh $t0, 0($t1) :: RTval: 0x35, out: 0x350000
sh $t0, 0($t1) :: RTval: 0x35, out: 0x350000
sh $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 32($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 32($t1) :: RTval: 0xffffffff, out: 0xffff3f3e
sh $t0, 36($t1) :: RTval: 0xffffffff, out: 0xffff0000
sh $t0, 36($t1) :: RTval: 0xffffffff, out: 0xffff3d3c
sh $t0, 40($t1) :: RTval: 0x31415927, out: 0x59270000
sh $t0, 40($t1) :: RTval: 0x31415927, out: 0x59273c3b
sh $t0, 44($t1) :: RTval: 0x7fffffff, out: 0xffff0000
sh $t0, 44($t1) :: RTval: 0x7fffffff, out: 0xffff3b3a
sh $t0, 48($t1) :: RTval: 0x80000000, out: 0x0
sh $t0, 48($t1) :: RTval: 0x80000000, out: 0x4e45
sh $t0, 52($t1) :: RTval: 0x28f, out: 0x28f0000
sh $t0, 52($t1) :: RTval: 0x28f, out: 0x28f4d46
MEM1:
0x35ffff, 0xffff, 0xffffffff, 0x0
0x0, 0x0, 0x0, 0x0
0xffff0000, 0xffff0000, 0x59270000, 0xffff0000
0x0, 0x28f0000, 0x0, 0x0
MEM:
0x35ffff, 0xffff, 0xffffffff, 0xffffffff
0x232f2e2f, 0x242c2b2b, 0x252a2e2b, 0x262d2d2a
0xffff3f3e, 0xffff3d3c, 0x59273c3b, 0xffff3b3a
0x4e45, 0x28f4d46, 0x474d474c, 0x4a484a4c
sw
sw $t0, 0($t1) :: RTval: 0x0, out: 0x0
sw $t0, 0($t1) :: RTval: 0x0, out: 0x0
sw $t0, 0($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 0($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 0($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 0($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 0($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 0($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 2($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 2($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 6($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 6($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 10($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 10($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 8($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 8($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 0($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 0($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 0($t1) :: RTval: 0xdd00000, out: 0xdd00000
sw $t0, 0($t1) :: RTval: 0xdd00000, out: 0xdd00000
sw $t0, 0($t1) :: RTval: 0x28f, out: 0x28f
sw $t0, 0($t1) :: RTval: 0x28f, out: 0x28f
sw $t0, 0($t1) :: RTval: 0xfffffd71, out: 0xfffffd71
sw $t0, 0($t1) :: RTval: 0xfffffd71, out: 0xfffffd71
sw $t0, 0($t1) :: RTval: 0xf, out: 0xf
sw $t0, 0($t1) :: RTval: 0xf, out: 0xf
sw $t0, 0($t1) :: RTval: 0x1, out: 0x1
sw $t0, 0($t1) :: RTval: 0x1, out: 0x1
sw $t0, 0($t1) :: RTval: 0x35, out: 0x35
sw $t0, 0($t1) :: RTval: 0x35, out: 0x35
sw $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 2($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 32($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 32($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 36($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 36($t1) :: RTval: 0xffffffff, out: 0xffffffff
sw $t0, 40($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 40($t1) :: RTval: 0x31415927, out: 0x31415927
sw $t0, 44($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 44($t1) :: RTval: 0x7fffffff, out: 0x7fffffff
sw $t0, 48($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 48($t1) :: RTval: 0x80000000, out: 0x80000000
sw $t0, 52($t1) :: RTval: 0x28f, out: 0x28f
sw $t0, 52($t1) :: RTval: 0x28f, out: 0x28f
MEM1:
0xffff, 0xffff7fff, 0xffffffff, 0xffff0000
0x0, 0x0, 0x0, 0x0
0xffffffff, 0xffffffff, 0x31415927, 0x7fffffff
0x80000000, 0x28f, 0x0, 0x0
MEM:
0xffff, 0xffff7fff, 0xffffffff, 0xffffffff
0x232f2e2f, 0x242c2b2b, 0x252a2e2b, 0x262d2d2a
0xffffffff, 0xffffffff, 0x31415927, 0x7fffffff
0x80000000, 0x28f, 0x474d474c, 0x4a484a4c