diff options
author | Dan Albert <danalbert@google.com> | 2014-11-27 23:17:03 -0800 |
---|---|---|
committer | Dan Albert <danalbert@google.com> | 2014-11-28 12:30:46 -0800 |
commit | fd1c060eaa640d6801b6d42e714a66bb2e6afac8 (patch) | |
tree | c37de4ed030f8bc2917e362f25cbc92071637d9b | |
parent | 809965cc363dfa2a53bfc5bb2f4d14f7f467add8 (diff) | |
download | core-fd1c060eaa640d6801b6d42e714a66bb2e6afac8.tar.gz core-fd1c060eaa640d6801b6d42e714a66bb2e6afac8.tar.bz2 core-fd1c060eaa640d6801b6d42e714a66bb2e6afac8.zip |
Fix build.
More UD literals that weren't caught by hammerhead...
Change-Id: I6b0abdeef41d1f40c2fe86843b5149925ff6356e
-rw-r--r-- | libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp index fd96f7ebc..5f5879784 100644 --- a/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp +++ b/libpixelflinger/tests/arch-arm64/assembler/arm64_assembler_test.cpp @@ -493,16 +493,17 @@ void dataOpTest(dataOpTest_t test, ARMAssemblerInterface *a64asm, uint32_t Rd = if(i == Rd) continue; if(regs[i] != savedRegs[i]) { - printf("Test %x failed Reg(%d) tampered Expected(0x%"PRIx64")," - "Actual(0x%"PRIx64") t\n", test.id, i, savedRegs[i], regs[i]); + printf("Test %x failed Reg(%d) tampered Expected(0x%" PRIx64 ")," + "Actual(0x%" PRIx64 ") t\n", test.id, i, savedRegs[i], + regs[i]); return; } } if(test.checkRd == 1 && (uint64_t)regs[Rd] != test.postRdValue) { - printf("Test %x failed, Expected(%"PRIx64"), Actual(%"PRIx64")\n", - test.id, test.postRdValue, regs[Rd]); + printf("Test %x failed, Expected(%" PRIx64 "), Actual(%" PRIx64 ")\n", + test.id, test.postRdValue, regs[Rd]); } else if(test.checkFlag == 1 && flags[test.postFlag] == 0) { @@ -610,7 +611,7 @@ void dataTransferTest(dataTransferTest_t test, ARMAssemblerInterface *a64asm, if(regs[i] != savedRegs[i]) { printf("Test %x failed Reg(%d) tampered" - " Expected(0x%"PRIx64"), Actual(0x%"PRIx64") t\n", + " Expected(0x%" PRIx64 "), Actual(0x%" PRIx64 ") t\n", test.id, i, savedRegs[i], regs[i]); return; } @@ -619,13 +620,13 @@ void dataTransferTest(dataTransferTest_t test, ARMAssemblerInterface *a64asm, if((uint64_t)regs[Rd] != test.postRdValue) { printf("Test %x failed, " - "Expected in Rd(0x%"PRIx64"), Actual(0x%"PRIx64")\n", + "Expected in Rd(0x%" PRIx64 "), Actual(0x%" PRIx64 ")\n", test.id, test.postRdValue, regs[Rd]); } else if((uint64_t)regs[Rn] != (uint64_t)(&dataMem[test.postRnValue])) { printf("Test %x failed, " - "Expected in Rn(0x%"PRIx64"), Actual(0x%"PRIx64")\n", + "Expected in Rn(0x%" PRIx64 "), Actual(0x%" PRIx64 ")\n", test.id, test.postRnValue, regs[Rn] - (uint64_t)dataMem); } else if(test.checkMem == true) @@ -638,7 +639,7 @@ void dataTransferTest(dataTransferTest_t test, ARMAssemblerInterface *a64asm, if(value != test.postMemValue) { printf("Test %x failed, " - "Expected in Mem(0x%"PRIx64"), Actual(0x%"PRIx64")\n", + "Expected in Mem(0x%" PRIx64 "), Actual(0x%" PRIx64 ")\n", test.id, test.postMemValue, value); } else @@ -697,8 +698,8 @@ void dataTransferLDMSTM(ARMAssemblerInterface *a64asm) if(regs[j] != j) { printf("LDM/STM Test %x failed " - "Reg%d expected(0x%x) Actual(0x%"PRIx64") \n", - patterns[i],j,j,regs[j]); + "Reg%d expected(0x%x) Actual(0x%" PRIx64 ") \n", + patterns[i], j, j, regs[j]); break; } } |