[03/12] RISC-V: Tidying related to 'Zfinx' disassembler test

Message ID a9229a2798480f00bf12ac3c435b3ef57f867022.1667651354.git.research_trasio@irq.a4lg.com
State Accepted
Headers
Series RISC-V: Test refinements (Batch 1) |

Checks

Context Check Description
snail/binutils-gdb-check success Github commit url

Commit Message

Tsukasa OI Nov. 5, 2022, 12:29 p.m. UTC
  This commit makes some tidying to zfinx-dis-numeric.d.

gas/ChangeLog:

	* testsuite/gas/riscv/zfinx-dis-numeric.d: Minimize extension
	requirements.  Remove redundant source line.  Make test pattern
	stricter.  Remove -r from objdump options.
---
 gas/testsuite/gas/riscv/zfinx-dis-numeric.d | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
  

Comments

Nelson Chu Nov. 29, 2022, 7:50 a.m. UTC | #1
Okay, thanks.

Nelson

On Sat, Nov 5, 2022 at 8:29 PM Tsukasa OI <research_trasio@irq.a4lg.com> wrote:
>
> This commit makes some tidying to zfinx-dis-numeric.d.
>
> gas/ChangeLog:
>
>         * testsuite/gas/riscv/zfinx-dis-numeric.d: Minimize extension
>         requirements.  Remove redundant source line.  Make test pattern
>         stricter.  Remove -r from objdump options.
> ---
>  gas/testsuite/gas/riscv/zfinx-dis-numeric.d | 7 +++----
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git a/gas/testsuite/gas/riscv/zfinx-dis-numeric.d b/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
> index ba3f62295eb..1c61d61f8f3 100644
> --- a/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
> +++ b/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
> @@ -1,10 +1,9 @@
> -#as: -march=rv64ima_zfinx
> -#source: zfinx-dis-numeric.s
> -#objdump: -dr -Mnumeric
> +#as: -march=rv32i_zfinx
> +#objdump: -d -M numeric
>
>  .*:[   ]+file format .*
>
>  Disassembly of section .text:
>
>  0+000 <target>:
> -[      ]+[0-9a-f]+:[   ]+a0c5a553[     ]+feq.s[        ]+x10,x11,x12
> +[      ]+[0-9a-f]+:[   ]+a0c5a553[     ]+feq\.s[       ]+x10,x11,x12
> --
> 2.37.2
>
  

Patch

diff --git a/gas/testsuite/gas/riscv/zfinx-dis-numeric.d b/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
index ba3f62295eb..1c61d61f8f3 100644
--- a/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
+++ b/gas/testsuite/gas/riscv/zfinx-dis-numeric.d
@@ -1,10 +1,9 @@ 
-#as: -march=rv64ima_zfinx
-#source: zfinx-dis-numeric.s
-#objdump: -dr -Mnumeric
+#as: -march=rv32i_zfinx
+#objdump: -d -M numeric
 
 .*:[ 	]+file format .*
 
 Disassembly of section .text:
 
 0+000 <target>:
-[ 	]+[0-9a-f]+:[ 	]+a0c5a553[ 	]+feq.s[ 	]+x10,x11,x12
+[ 	]+[0-9a-f]+:[ 	]+a0c5a553[ 	]+feq\.s[ 	]+x10,x11,x12