diff options
author | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2020-01-17 14:19:35 +0000 |
---|---|---|
committer | Andre Vieira <andre.simoesdiasvieira@arm.com> | 2020-01-17 14:21:59 +0000 |
commit | bd267fd1f9de8d22922cb599aff67f3869243020 (patch) | |
tree | 2148d506f36fb077a949ca8188aac700c5f30323 /gas | |
parent | 533da48302a26885a972e4379eccc26b364e5b53 (diff) | |
download | gdb-bd267fd1f9de8d22922cb599aff67f3869243020.zip gdb-bd267fd1f9de8d22922cb599aff67f3869243020.tar.gz gdb-bd267fd1f9de8d22922cb599aff67f3869243020.tar.bz2 |
Forgot to add testcases to commit for [binutils][arm] PR25376 Change MVE ...
The original commit was 2da2eaf4ce299c84c5a1f1bc6f7944266cb36d6e
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s | 8 |
4 files changed, 30 insertions, 0 deletions
diff --git a/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d new file mode 100644 index 0000000..b7d03df --- /dev/null +++ b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d @@ -0,0 +1,7 @@ +#name: Make sure .fpu does not reset MVE feature bits +#objdump: -dr --prefix-addresses --show-raw-insn -marmv8.1-m.main + +.*: +file format .*arm.* + +Disassembly of section .text: +0[0-9a-f]+ <[^>]+> ef22 0844 vadd.i32 q0, q1, q2 diff --git a/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s new file mode 100644 index 0000000..ff5ae73 --- /dev/null +++ b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s @@ -0,0 +1,7 @@ +.arch armv8.1-m.main +.arch_extension mve +.fpu fpv5-sp-d16 +.syntax unified +.thumb +.text +vadd.i32 q0, q1, q2 diff --git a/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d new file mode 100644 index 0000000..479f00f --- /dev/null +++ b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d @@ -0,0 +1,8 @@ +#name: Make sure .fpu does not reset MVE feature bits but still adds extra bits +#objdump: -dr --prefix-addresses --show-raw-insn -marmv8.1-m.main + +.*: +file format .*arm.* + +Disassembly of section .text: +0[0-9a-f]+ <[^>]+> ef22 0844 vadd.i32 q0, q1, q2 +0[0-9a-f]+ <[^>]+> ee31 0b02 vadd.f64 d0, d1, d2 diff --git a/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s new file mode 100644 index 0000000..80f4e47 --- /dev/null +++ b/gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s @@ -0,0 +1,8 @@ +.arch armv8.1-m.main +.arch_extension mve +.fpu fpv5-d16 +.syntax unified +.thumb +.text +vadd.i32 q0, q1, q2 +vadd.f64 d0, d1, d2 |