summaryrefslogtreecommitdiff
path: root/compiler/utils/assembler_test_base.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2024-02-21 16:52:49 +0000
committer VladimĂ­r Marko <vmarko@google.com> 2024-02-24 07:26:43 +0000
commitb9e18d2ed06e2868a9e36374a18affa1e46bada5 (patch)
tree068893d77be2a720d695752d025af4a919b70fd2 /compiler/utils/assembler_test_base.h
parent501a89cd3e7a129652f8b38cb07af96212092ca7 (diff)
riscv64: Make "C" extension default for assembler tests.
Move responsibility for restricting the instruction set to individual tests. Test: m test-art-host-gtest Bug: 283082089 Change-Id: I4a4f96df2d3b8fd1feae4b56cf13053b542ee732
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 c147217b3d..c5345130b3 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=rv64imafdv_zba_zbb",
+ "-march=rv64imafdcv_zba_zbb_zca_zcd_zcb",
// 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,+V,+Zba,+Zbb",
+ "--mattr=+F,+D,+A,+C,+V,+Zba,+Zbb,+Zca,+Zcd,+Zcb",
"-M",
"no-aliases"};
default: