From 378ffca74c7a1428431da5d4572b70731d41074d Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 12 Feb 2021 23:18:33 -0800 Subject: 7730 - baremetal/shell: boolean values In the process I found a bug in the Mu compiler. Limitations of just asserting the emitted code but not running it. --- apps/mu.subx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/mu.subx') diff --git a/apps/mu.subx b/apps/mu.subx index e6ad162d..fa3bda75 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -5994,7 +5994,7 @@ test-convert-floating-point-operation: (check-next-stream-line-equal _test-output-stream " f3 0f 5f/max *(ebp+0xfffffffc) 0x00000001/x32" "F - test-convert-floating-point-operation/30") (check-next-stream-line-equal _test-output-stream " f3 0f 5d/min %xmm5 0x00000001/x32" "F - test-convert-floating-point-operation/31") (check-next-stream-line-equal _test-output-stream " f3 0f 5d/min *(ebp+0xfffffffc) 0x00000001/x32" "F - test-convert-floating-point-operation/32") - (check-next-stream-line-equal _test-output-stream " 0f 2f/compare %xmm1 0x00000005/x32" "F - test-convert-floating-point-operation/33") + (check-next-stream-line-equal _test-output-stream " 0f 2f/compare %xmm5 0x00000001/x32" "F - test-convert-floating-point-operation/33") (check-next-stream-line-equal _test-output-stream " 0f 2f/compare *(ebp+0xfffffffc) 0x00000001/x32" "F - test-convert-floating-point-operation/34") (check-next-stream-line-equal _test-output-stream " f3 0f 10/-> *esp 5/x32" "F - test-convert-floating-point-operation/35") (check-next-stream-line-equal _test-output-stream " 81 0/subop/add %esp 4/imm32" "F - test-convert-floating-point-operation/36") @@ -32424,8 +32424,8 @@ _Primitive-compare-xreg-with-xreg: # (payload primitive) 0/imm32/no-imm32 0/imm32/no-imm8 0/imm32/no-disp32 - 1/imm32/xm32-is-first-inout - 2/imm32/x32-is-second-inout + 2/imm32/xm32-is-second-inout + 1/imm32/x32-is-first-inout 0x11/imm32/alloc-id:fake _Primitive-compare-xreg-with-mem/imm32/next _Primitive-compare-xreg-with-mem: # (payload primitive) -- cgit 1.4.1-2-gfad0