Browse Source
Except for bfml{a,s} their 1st and 3rd operands need to match - pass
the TIED macro argument accordingly. While doing that also slightly
re-arrange table entries, such that all predicated insns are close
together.
At the same time change the existing test source to actually use non-
matching operands for the respective bfml{a,s} forms.
master
8 changed files with 79 additions and 53 deletions
@ -0,0 +1,4 @@ |
|||||
|
#name: Test Bfloat16 instructions with wrong operand combinations |
||||
|
#as: -march=armv9.4-a |
||||
|
#source: bfloat16-invalid.s |
||||
|
#error_output: bfloat16-invalid.l |
||||
@ -0,0 +1,8 @@ |
|||||
|
.*: Assembler messages: |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfadd .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfmax .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfmaxnm .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfmin .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfminnm .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfmul .* |
||||
|
[^ :]+:[0-9]+: Error: operand 3 must be the same register as operand 1 -- `bfsub .* |
||||
@ -0,0 +1,13 @@ |
|||||
|
bfadd z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfmax z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfmaxnm z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfmin z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfminnm z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfmul z0.h, p0/m, z1.h, z0.h |
||||
|
|
||||
|
bfsub z0.h, p0/m, z1.h, z0.h |
||||
Loading…
Reference in new issue