From 383648d9e0618eb81097615e2ca14114c5629102 Mon Sep 17 00:00:00 2001 From: Roman Artemev Date: Thu, 7 Dec 2023 18:05:42 +0300 Subject: riscv64: RISC-V RVV assembler tests Add tests for newly added instructions Adjust clang/objdump CLI options Test: m art_compiler_host_tests Test: $NATIVE_TESTS/art_compiler_host_tests_intermediates/art_compiler_host_tests Change-Id: I3fdd831737daf844c7b03ef010d27d44056ec59d --- compiler/utils/assembler_test_base.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/utils/assembler_test_base.h') diff --git a/compiler/utils/assembler_test_base.h b/compiler/utils/assembler_test_base.h index 6f836d3718..c147217b3d 100644 --- a/compiler/utils/assembler_test_base.h +++ b/compiler/utils/assembler_test_base.h @@ -147,7 +147,7 @@ class AssemblerTestBase : public testing::Test { "--compile", "-target", "riscv64-linux-gnu", - "-march=rv64imafd_zba_zbb", + "-march=rv64imafdv_zba_zbb", // Force the assembler to fully emit branch instructions instead of leaving // offsets unresolved with relocation information for the linker. "-mno-relax"}; @@ -175,7 +175,7 @@ class AssemblerTestBase : public testing::Test { "--no-print-imm-hex", "--no-show-raw-insn", // Disassemble Standard Extensions supported by the assembler. - "--mattr=+F,+D,+A,+Zba,+Zbb", + "--mattr=+F,+D,+A,+V,+Zba,+Zbb", "-M", "no-aliases"}; default: -- cgit v1.2.3-59-g8ed1b