diff options
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/advsimd-fp16.d | 20 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/advsimd-fp16.s | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/illegal.l | 4 | ||||
-rw-r--r-- | gas/testsuite/gas/aarch64/illegal.s | 4 |
5 files changed, 48 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 4a44439..a2a3bf8 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,6 +1,14 @@ 2015-12-14 Matthew Wahab <matthew.wahab@arm.com> * gas/aarch64/advsimd-fp16.d: Update expected output. + * gas/aarch64/advsimd-fp16.s: Add tests for Adv.SIMD across lanes + instructions. + * gas/aarch64/illegal.d: Update expected output. + * gas/aarch64/illegal.s: Replace test for illegal use of 'h' specifier. + +2015-12-14 Matthew Wahab <matthew.wahab@arm.com> + + * gas/aarch64/advsimd-fp16.d: Update expected output. * gas/aarch64/advsimd-fp16.s: Add tests for scalar indexed element instructions. diff --git a/gas/testsuite/gas/aarch64/advsimd-fp16.d b/gas/testsuite/gas/aarch64/advsimd-fp16.d index dacd51b..241dc3f 100644 --- a/gas/testsuite/gas/aarch64/advsimd-fp16.d +++ b/gas/testsuite/gas/aarch64/advsimd-fp16.d @@ -472,3 +472,23 @@ Disassembly of section \.text: [0-9a-f]+: 7fa39041 fmulx s1, s2, v3.s\[1\] [0-9a-f]+: 7f139041 fmulx h1, h2, v3.h\[1\] [0-9a-f]+: 7f009000 fmulx h0, h0, v0.h\[0\] + [0-9a-f]+: 6e30c841 fmaxnmv s1, v2.4s + [0-9a-f]+: 0e30c841 fmaxnmv h1, v2.4h + [0-9a-f]+: 4e30c841 fmaxnmv h1, v2.8h + [0-9a-f]+: 0e30c800 fmaxnmv h0, v0.4h + [0-9a-f]+: 4e30c800 fmaxnmv h0, v0.8h + [0-9a-f]+: 6e30f841 fmaxv s1, v2.4s + [0-9a-f]+: 0e30f841 fmaxv h1, v2.4h + [0-9a-f]+: 4e30f841 fmaxv h1, v2.8h + [0-9a-f]+: 0e30f800 fmaxv h0, v0.4h + [0-9a-f]+: 4e30f800 fmaxv h0, v0.8h + [0-9a-f]+: 6eb0c841 fminnmv s1, v2.4s + [0-9a-f]+: 0eb0c841 fminnmv h1, v2.4h + [0-9a-f]+: 4eb0c841 fminnmv h1, v2.8h + [0-9a-f]+: 0eb0c800 fminnmv h0, v0.4h + [0-9a-f]+: 4eb0c800 fminnmv h0, v0.8h + [0-9a-f]+: 6eb0f841 fminv s1, v2.4s + [0-9a-f]+: 0eb0f841 fminv h1, v2.4h + [0-9a-f]+: 4eb0f841 fminv h1, v2.8h + [0-9a-f]+: 0eb0f800 fminv h0, v0.4h + [0-9a-f]+: 4eb0f800 fminv h0, v0.8h diff --git a/gas/testsuite/gas/aarch64/advsimd-fp16.s b/gas/testsuite/gas/aarch64/advsimd-fp16.s index 10f9067..c4e0ad1 100644 --- a/gas/testsuite/gas/aarch64/advsimd-fp16.s +++ b/gas/testsuite/gas/aarch64/advsimd-fp16.s @@ -187,3 +187,19 @@ sindexed_elem fmul sindexed_elem fmulx + + /* Adv.SIMD across lanes. */ + + .macro across_lanes, op + \op s1, v2.4s + \op h1, v2.4h + \op h1, v2.8h + \op h0, v0.4h + \op h0, v0.8h + .endm + + across_lanes fmaxnmv + across_lanes fmaxv + across_lanes fminnmv + across_lanes fminv + diff --git a/gas/testsuite/gas/aarch64/illegal.l b/gas/testsuite/gas/aarch64/illegal.l index 0e8c7eb..7482bc7 100644 --- a/gas/testsuite/gas/aarch64/illegal.l +++ b/gas/testsuite/gas/aarch64/illegal.l @@ -8,8 +8,8 @@ [^:]*:32: Error: .*`saddlv q7,v31.2d' [^:]*:33: Error: .*`smaxv s7,v31.2s' [^:]*:34: Error: .*`sminv d7,v31.2d' -[^:]*:35: Error: .*`fmaxv h7,v31.8h' -[^:]*:36: Error: .*`fmaxv h7,v31.4h' +[^:]*:35: Error: .*`fmaxv h7,v31.2h' +[^:]*:36: Error: .*`fmaxv s7,v31.4h' [^:]*:37: Error: .*`fminv d7,v31.2d' [^:]*:39: Error: .*`abs b0,b31' [^:]*:40: Error: .*`neg b0,b31' diff --git a/gas/testsuite/gas/aarch64/illegal.s b/gas/testsuite/gas/aarch64/illegal.s index 718f7ed..0960b7e 100644 --- a/gas/testsuite/gas/aarch64/illegal.s +++ b/gas/testsuite/gas/aarch64/illegal.s @@ -32,8 +32,8 @@ saddlv q7, v31.2d smaxv s7, v31.2s sminv d7, v31.2d - fmaxv h7, v31.8h - fmaxv h7, v31.4h + fmaxv h7, v31.2h + fmaxv s7, v31.4h fminv d7, v31.2d abs b0, b31 |