Forgot to add testcases to commit for [binutils][arm] PR25376 Change MVE ...
The original commit was 2da2eaf4ce299c84c5a1f1bc6f7944266cb36d6e
This commit is contained in:
parent
533da48302
commit
bd267fd1f9
7
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d
Normal file
7
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.d
Normal file
@ -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
|
7
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s
Normal file
7
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-1.s
Normal file
@ -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
|
8
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d
Normal file
8
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.d
Normal file
@ -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
|
8
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s
Normal file
8
gas/testsuite/gas/arm/armv8_1-m-fpu-mve-2.s
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user