about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-02-12 23:18:33 -0800
committerKartik K. Agaram <vc@akkartik.com>2021-02-12 23:49:00 -0800
commit378ffca74c7a1428431da5d4572b70731d41074d (patch)
treebea0d3e0571d5350ab928e66de656b2ff2a49f4b /apps
parent97a77434c5950d7a491f77ec2543fcad3157c460 (diff)
downloadmu-378ffca74c7a1428431da5d4572b70731d41074d.tar.gz
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.
Diffstat (limited to 'apps')
-rwxr-xr-xapps/mubin602314 -> 602314 bytes
-rw-r--r--apps/mu.subx6
2 files changed, 3 insertions, 3 deletions
diff --git a/apps/mu b/apps/mu
index 1f4e781a..1b8d828b 100755
--- a/apps/mu
+++ b/apps/mu
Binary files differdiff --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)