aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/aarch64/advsimd-fp16.d7
-rw-r--r--gas/testsuite/gas/aarch64/advsimd-fp16.s9
3 files changed, 22 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index a2a3bf8..ff7b695 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,6 +1,12 @@
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 modified
+ immediate instructions.
+
+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.
diff --git a/gas/testsuite/gas/aarch64/advsimd-fp16.d b/gas/testsuite/gas/aarch64/advsimd-fp16.d
index 241dc3f..5abad7e 100644
--- a/gas/testsuite/gas/aarch64/advsimd-fp16.d
+++ b/gas/testsuite/gas/aarch64/advsimd-fp16.d
@@ -492,3 +492,10 @@ Disassembly of section \.text:
[0-9a-f]+: 4eb0f841 fminv h1, v2.8h
[0-9a-f]+: 0eb0f800 fminv h0, v0.4h
[0-9a-f]+: 4eb0f800 fminv h0, v0.8h
+ [0-9a-f]+: 6f00f401 fmov v1.2d, #2.000000000000000000e\+00
+ [0-9a-f]+: 0f00f401 fmov v1.2s, #2.000000000000000000e\+00
+ [0-9a-f]+: 4f00f401 fmov v1.4s, #2.000000000000000000e\+00
+ [0-9a-f]+: 0f00fc01 fmov v1.4h, #2.000000000000000000e\+00
+ [0-9a-f]+: 4f00fc01 fmov v1.8h, #2.000000000000000000e\+00
+ [0-9a-f]+: 0f03fe00 fmov v0.4h, #1.000000000000000000e\+00
+ [0-9a-f]+: 4f03fe00 fmov v0.8h, #1.000000000000000000e\+00
diff --git a/gas/testsuite/gas/aarch64/advsimd-fp16.s b/gas/testsuite/gas/aarch64/advsimd-fp16.s
index c4e0ad1..75aacf6 100644
--- a/gas/testsuite/gas/aarch64/advsimd-fp16.s
+++ b/gas/testsuite/gas/aarch64/advsimd-fp16.s
@@ -203,3 +203,12 @@
across_lanes fminnmv
across_lanes fminv
+ /* Adv.SIMD modified immediate. */
+
+ fmov v1.2d, #2.0
+ fmov v1.2s, #2.0
+ fmov v1.4s, #2.0
+ fmov v1.4h, #2.0
+ fmov v1.8h, #2.0
+ fmov v0.4h, #1.0
+ fmov v0.8h, #1.0