From ddbdfbb232bced388b87c7370f67df51e9620821 Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Fri, 16 Oct 2020 16:25:43 -0400 Subject: [PATCH] i#4474 a64 tests: Fix a64 asm error in burst_traceopts Fixes an error in the a64 assembly in the burst_traceopts test. The test is not yet officially enabled for a64 but that work will be done later and it seems worth fixing this error now. Issue: #4474 --- clients/drcachesim/tests/burst_traceopts.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/drcachesim/tests/burst_traceopts.cpp b/clients/drcachesim/tests/burst_traceopts.cpp index d1c1300967c..12c34d6beff 100644 --- a/clients/drcachesim/tests/burst_traceopts.cpp +++ b/clients/drcachesim/tests/burst_traceopts.cpp @@ -381,7 +381,7 @@ GLOBAL_LABEL(FUNCNAME:) ldr x1, [x0, #32] ldr x1, [x0, #16] // Modify via non-memref. - add x0, #8 + add x0, x0, #8 ldr x1, [x0, #32] // There are no conditional/predicate loads/stores. ret