[2/2] RISC-V: Update testcases with new vector check.
Commit Message
gas/ChangeLog:
* testsuite/gas/riscv/dw-regnums.d: Add m in march.
* testsuite/gas/riscv/imply.d: Ditto.
* testsuite/gas/riscv/imply.s: Ditto.
* testsuite/gas/riscv/insn-na.d: Ditto.
* testsuite/gas/riscv/insn.d: Ditto.
* testsuite/gas/riscv/sifive-insns.s: Ditto.
* testsuite/gas/riscv/vector-insns-fail-vsew.d: Ditto.
* testsuite/gas/riscv/vector-insns-vmsgtvx.d: Ditto.
* testsuite/gas/riscv/vector-insns-zero-imm.d: Ditto.
* testsuite/gas/riscv/vector-insns.d: Ditto.
* testsuite/gas/riscv/zvfbfmin.d: Ditto.
* testsuite/gas/riscv/zvfbfwma.d: Ditto.
---
gas/testsuite/gas/riscv/dw-regnums.d | 2 +-
gas/testsuite/gas/riscv/imply.d | 2 +-
gas/testsuite/gas/riscv/imply.s | 2 +-
gas/testsuite/gas/riscv/insn-na.d | 2 +-
gas/testsuite/gas/riscv/insn.d | 2 +-
gas/testsuite/gas/riscv/sifive-insns.s | 2 +-
gas/testsuite/gas/riscv/vector-insns-fail-vsew.d | 2 +-
gas/testsuite/gas/riscv/vector-insns-vmsgtvx.d | 2 +-
gas/testsuite/gas/riscv/vector-insns-zero-imm.d | 2 +-
gas/testsuite/gas/riscv/vector-insns.d | 2 +-
gas/testsuite/gas/riscv/zvfbfmin.d | 2 +-
gas/testsuite/gas/riscv/zvfbfwma.d | 2 +-
12 files changed, 12 insertions(+), 12 deletions(-)
Comments
On 21.01.2025 16:23, Jiawei wrote:
> gas/ChangeLog:
>
> * testsuite/gas/riscv/dw-regnums.d: Add m in march.
> * testsuite/gas/riscv/imply.d: Ditto.
> * testsuite/gas/riscv/imply.s: Ditto.
> * testsuite/gas/riscv/insn-na.d: Ditto.
> * testsuite/gas/riscv/insn.d: Ditto.
> * testsuite/gas/riscv/sifive-insns.s: Ditto.
> * testsuite/gas/riscv/vector-insns-fail-vsew.d: Ditto.
> * testsuite/gas/riscv/vector-insns-vmsgtvx.d: Ditto.
> * testsuite/gas/riscv/vector-insns-zero-imm.d: Ditto.
> * testsuite/gas/riscv/vector-insns.d: Ditto.
> * testsuite/gas/riscv/zvfbfmin.d: Ditto.
> * testsuite/gas/riscv/zvfbfwma.d: Ditto.
Doesn't this change need to come first, to avoid breaking the testsuite
intermediately?
Jan
On Tue, Jan 21, 2025 at 11:49 PM Jan Beulich <jbeulich@suse.com> wrote:
> On 21.01.2025 16:23, Jiawei wrote:
> > gas/ChangeLog:
> >
> > * testsuite/gas/riscv/dw-regnums.d: Add m in march.
> > * testsuite/gas/riscv/imply.d: Ditto.
> > * testsuite/gas/riscv/imply.s: Ditto.
> > * testsuite/gas/riscv/insn-na.d: Ditto.
> > * testsuite/gas/riscv/insn.d: Ditto.
> > * testsuite/gas/riscv/sifive-insns.s: Ditto.
> > * testsuite/gas/riscv/vector-insns-fail-vsew.d: Ditto.
> > * testsuite/gas/riscv/vector-insns-vmsgtvx.d: Ditto.
> > * testsuite/gas/riscv/vector-insns-zero-imm.d: Ditto.
> > * testsuite/gas/riscv/vector-insns.d: Ditto.
> > * testsuite/gas/riscv/zvfbfmin.d: Ditto.
> > * testsuite/gas/riscv/zvfbfwma.d: Ditto.
>
> Doesn't this change need to come first, to avoid breaking the testsuite
> intermediately?
>
I think only the imply testcase is needed, since previous patch v implies
m, so adding m into the architecture string is redundant. And it would be
better to update the imply testcase with the previous change.
Nelson
在 2025/1/21 23:49, Jan Beulich 写道:
> On 21.01.2025 16:23, Jiawei wrote:
>> gas/ChangeLog:
>>
>> * testsuite/gas/riscv/dw-regnums.d: Add m in march.
>> * testsuite/gas/riscv/imply.d: Ditto.
>> * testsuite/gas/riscv/imply.s: Ditto.
>> * testsuite/gas/riscv/insn-na.d: Ditto.
>> * testsuite/gas/riscv/insn.d: Ditto.
>> * testsuite/gas/riscv/sifive-insns.s: Ditto.
>> * testsuite/gas/riscv/vector-insns-fail-vsew.d: Ditto.
>> * testsuite/gas/riscv/vector-insns-vmsgtvx.d: Ditto.
>> * testsuite/gas/riscv/vector-insns-zero-imm.d: Ditto.
>> * testsuite/gas/riscv/vector-insns.d: Ditto.
>> * testsuite/gas/riscv/zvfbfmin.d: Ditto.
>> * testsuite/gas/riscv/zvfbfwma.d: Ditto.
> Doesn't this change need to come first, to avoid breaking the testsuite
> intermediately?
>
> Jan
Okay, will merge it in one in the next version, thanks.
Jiawei
@@ -1,4 +1,4 @@
-#as: -march=rv32iv
+#as: -march=rv32imv
#objdump: --dwarf=frames
@@ -22,7 +22,7 @@ SYMBOL TABLE:
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_zicsr2p0_zve32x1p0_zvl128b1p0_zvl256b1p0_zvl32b1p0_zvl64b1p0_xsfvqmaccqoq1p0
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_zicsr2p0_zve32x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0_xsfvqmaccdod1p0
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_zicsr2p0_zve32f1p0_zve32x1p0_zvl32b1p0_xsfvfnrclipxfqf1p0
-[0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_d2p2_v1p0_zicsr2p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0
+[0-9a-f]+ l .text 0+000 \$xrv32i2p1_m2p0_f2p2_d2p2_v1p0_zicsr2p0_zmmul1p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_zicsr2p0_zfhmin1p0_zve32f1p0_zve32x1p0_zvfh1p0_zvfhmin1p0_zvl32b1p0
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_zicsr2p0_zve32f1p0_zve32x1p0_zvfhmin1p0_zvl32b1p0
[0-9a-f]+ l .text 0+000 \$xrv32i2p1_f2p2_zicsr2p0_zfbfmin1p0_zfhmin1p0_zve32f1p0_zve32x1p0_zvfbfwma1p0_zvl32b1p0
@@ -25,7 +25,7 @@ imply xsfvqmaccqoq
imply xsfvqmaccdod
imply xsfvfnrclipxfqf
-imply v
+imply mv
imply zvfh
imply zvfhmin
imply zvfbfwma
@@ -1,4 +1,4 @@
-#as: -march=rv32ifcv
+#as: -march=rv32imfcv
#source: insn.s
#objdump: -dw -Mno-aliases
@@ -1,4 +1,4 @@
-#as: -march=rv32ifcv
+#as: -march=rv32imfcv
#objdump: -dr
.*:[ ]+file format .*
@@ -1,4 +1,4 @@
- .attribute arch, "rv32iv"
+ .attribute arch, "rv32imv"
# xsfvcp
.option push
.option arch, +xsfvcp
@@ -1,3 +1,3 @@
-#as: -march=rv32iv
+#as: -march=rv32imv
#source: vector-insns-fail-vsew.s
#error_output: vector-insns-fail-vsew.l
@@ -1,4 +1,4 @@
-#as: -march=rv32iv
+#as: -march=rv32imv
#objdump: -dr
.*:[ ]+file format .*
@@ -1,4 +1,4 @@
-#as: -march=rv32iv
+#as: -march=rv32imv
#objdump: -dr
.*:[ ]+file format .*
@@ -1,4 +1,4 @@
-#as: -march=rv32ifv
+#as: -march=rv32imfv
#objdump: -dr
.*:[ ]+file format .*
@@ -1,4 +1,4 @@
-#as: -march=rv64iv_zvfbfmin
+#as: -march=rv64imv_zvfbfmin
#objdump: -d
.*:[ ]+file format .*
@@ -1,4 +1,4 @@
-#as: -march=rv64iv_zvfbfwma
+#as: -march=rv64imv_zvfbfwma
#objdump: -d
.*:[ ]+file format .*