Commit Graph

8 Commits

Author SHA1 Message Date
Mark Wielaard
7c181202c5 Bug #360425 - arm64 unsupported instruction ldpsw tests.
Add tests for ldpsw implementation VEX svn r3212.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15830
2016-03-15 15:08:01 +00:00
Mark Wielaard
3d73703cdb Bug #360519 none/tests/arm64/memory.vgtest might fail with newer gcc
The LDR (literal, int reg) testcase takes a code label and compares the
instructions around the label with known instructions in the code stream.
There were only fixed insns on either side of the checking instruction
which isn't enough given that offsets of +/-8 are used, instructions are
only 4 wide and the values loaded are 64bit. Newer gcc versions would
generate different code around the label and cause the tests to fail.

Add enough nops around the actual instruction to really give known
expected constant values to check against.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15829
2016-03-15 13:56:19 +00:00
Julian Seward
0f002eb44d Add test cases for PRFM (register). Pertains to #345177.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15555
2015-08-16 11:46:16 +00:00
Julian Seward
74d6639320 Add test cases and expected outputs for
FMLA 2d_2d_d[], 4s_4s_s[], 2s_2s_s[]
FMLS 2d_2d_d[], 4s_4s_s[], 2s_2s_s[]
PRFM (immediate)

Unfortunately huge diff for arm64/fp_and_simd.stdout.exp because the
new cases are not at the end, and the random data for all after it is
different.  ToDo: reset RNG after each test.



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14679
2014-10-31 10:29:23 +00:00
Julian Seward
e3d289a56d Enable test cases for
LD1/ST1 (multiple 1-elem structs to/from 2 regs 
LD1/ST1 (multiple 1-elem structs to/from 3 regs 
LD1/ST1 (multiple 1-elem structs to/from 4 regs  
LD1R (single structure, replicate)  
LD2R (single structure, replicate) 
LD3R (single structure, replicate) 
LD4R (single structure, replicate) 
LD1/ST1 (single structure, to/from one lane) 
LD2/ST2 (single structure, to/from one lane) 
LD3/ST3 (single structure, to/from one lane) 
LD4/ST4 (single structure, to/from one lane)



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14667
2014-10-27 09:35:12 +00:00
Julian Seward
f83682a8a1 Add test cases for all known arm64 load/store instructions.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14653
2014-10-22 13:47:07 +00:00
Julian Seward
f08f28ed4a arm64: enable test cases for str bN, [reg, reg etc] and str hN, [reg,
reg etc].  Pertaining to #337762, vex r2943.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14458
2014-09-04 11:45:26 +00:00
Julian Seward
e4e8111405 Remove memory (load/store) tests from integer.c and move them
into their own file, memory.c.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14403
2014-09-01 09:35:42 +00:00