Forgot to add testcases to commit for [binutils][arm] PR25376 Change MVE ...

The original commit was 2da2eaf4ce299c84c5a1f1bc6f7944266cb36d6e
This commit is contained in:
Andre Vieira 2020-01-17 14:19:35 +00:00
parent 533da48302
commit bd267fd1f9
4 changed files with 30 additions and 0 deletions

View 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

View 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

View 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

View 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