summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test_base.h
diff options
context:
space:
mode:
author Roman Artemev <roman.artemev@syntacore.com> 2023-12-07 18:05:42 +0300
committer VladimĂ­r Marko <vmarko@google.com> 2024-01-30 09:48:26 +0000
commit383648d9e0618eb81097615e2ca14114c5629102 (patch)
treeb3d3fff864af1c465f53dcef32ce24a53ff0fcb1 /compiler/utils/assembler_test_base.h
parent77cc9c867f714944afd541870fddfe16698638e2 (diff)
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
Diffstat (limited to 'compiler/utils/assembler_test_base.h')
-rw-r--r--compiler/utils/assembler_test_base.h4
1 files changed, 2 insertions, 2 deletions
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: