diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-05-16 18:36:42 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-18 00:44:49 -0700 |
commit | 50982c5cdc6c633c9be824f2213dd7e2321f0641 (patch) | |
tree | 45d5cd02ad97159e60c47cb8b6dc847af5f6493b | |
parent | 1de6f280423f484ae0037e6c805320fa61d1bc66 (diff) | |
download | mu-50982c5cdc6c633c9be824f2213dd7e2321f0641.tar.gz |
-
-rw-r--r-- | apps/mu.subx | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 30a1dc44..44920b50 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -8828,7 +8828,7 @@ $emit-subx-block:end: # For each operation, put variants with hard-coded registers before flexible ones. # # Idea for a notation to simplify such definitions: -# _Primitive-inc-eax: +# _Primitive-increment-eax: # 0x11/alloc-id:fake:payload # 0x11 @(0x11 "increment") # name # 0 0 # inouts @@ -8846,7 +8846,7 @@ $emit-subx-block:end: # ) # 0 0) # List-next # ... -# _Primitive-inc-ecx/imm32/next +# _Primitive-increment-ecx/imm32/next # ... # Awfully complex and non-obvious. But also clearly signals there's something # to learn here, so may be worth trying. @@ -8858,7 +8858,7 @@ $emit-subx-block:end: == data Primitives: # - increment/decrement -_Primitive-inc-eax: +_Primitive-increment-eax: # var/eax <- increment => 40/increment-eax 0x11/imm32/alloc-id:fake _string-increment/imm32/name @@ -8874,7 +8874,7 @@ _Primitive-inc-eax: 0/imm32/no-disp32 0/imm32/output-is-write-only 0x11/imm32/alloc-id:fake - _Primitive-inc-ecx/imm32/next + _Primitive-increment-ecx/imm32/next _string-increment: 0x11/imm32/alloc-id:fake # "increment" @@ -8885,7 +8885,7 @@ _string_increment_eax: # "40/increment-eax" 0x10/imm32/size 0x34/4 0x30/0 0x2f/slash 0x69/i 0x6e/n 0x63/c 0x72/r 0x65/e 0x6d/m 0x65/e 0x6e/n 0x74/t 0x2d/dash 0x65/e 0x61/a 0x78/x -_Primitive-inc-ecx: +_Primitive-increment-ecx: # var/ecx <- increment => 41/increment-ecx "increment"/imm32/name 0/imm32/no-inouts @@ -8896,8 +8896,8 @@ _Primitive-inc-ecx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-edx/imm32/next -_Primitive-inc-edx: + _Primitive-increment-edx/imm32/next +_Primitive-increment-edx: # var/edx <- increment => 42/increment-edx "increment"/imm32/name 0/imm32/no-inouts @@ -8908,8 +8908,8 @@ _Primitive-inc-edx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-ebx/imm32/next -_Primitive-inc-ebx: + _Primitive-increment-ebx/imm32/next +_Primitive-increment-ebx: # var/ebx <- increment => 43/increment-ebx "increment"/imm32/name 0/imm32/no-inouts @@ -8920,8 +8920,8 @@ _Primitive-inc-ebx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-esi/imm32/next -_Primitive-inc-esi: + _Primitive-increment-esi/imm32/next +_Primitive-increment-esi: # var/esi <- increment => 46/increment-esi "increment"/imm32/name 0/imm32/no-inouts @@ -8932,8 +8932,8 @@ _Primitive-inc-esi: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-edi/imm32/next -_Primitive-inc-edi: + _Primitive-increment-edi/imm32/next +_Primitive-increment-edi: # var/edi <- increment => 47/increment-edi "increment"/imm32/name 0/imm32/no-inouts @@ -8944,8 +8944,8 @@ _Primitive-inc-edi: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-eax/imm32/next -_Primitive-dec-eax: + _Primitive-decrement-eax/imm32/next +_Primitive-decrement-eax: # var/eax <- decrement => 48/decrement-eax "decrement"/imm32/name 0/imm32/no-inouts @@ -8956,8 +8956,8 @@ _Primitive-dec-eax: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-ecx/imm32/next -_Primitive-dec-ecx: + _Primitive-decrement-ecx/imm32/next +_Primitive-decrement-ecx: # var/ecx <- decrement => 49/decrement-ecx "decrement"/imm32/name 0/imm32/no-inouts @@ -8968,8 +8968,8 @@ _Primitive-dec-ecx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-edx/imm32/next -_Primitive-dec-edx: + _Primitive-decrement-edx/imm32/next +_Primitive-decrement-edx: # var/edx <- decrement => 4a/decrement-edx "decrement"/imm32/name 0/imm32/no-inouts @@ -8980,8 +8980,8 @@ _Primitive-dec-edx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-ebx/imm32/next -_Primitive-dec-ebx: + _Primitive-decrement-ebx/imm32/next +_Primitive-decrement-ebx: # var/ebx <- decrement => 4b/decrement-ebx "decrement"/imm32/name 0/imm32/no-inouts @@ -8992,8 +8992,8 @@ _Primitive-dec-ebx: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-esi/imm32/next -_Primitive-dec-esi: + _Primitive-decrement-esi/imm32/next +_Primitive-decrement-esi: # var/esi <- decrement => 4e/decrement-esi "decrement"/imm32/name 0/imm32/no-inouts @@ -9004,8 +9004,8 @@ _Primitive-dec-esi: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-edi/imm32/next -_Primitive-dec-edi: + _Primitive-decrement-edi/imm32/next +_Primitive-decrement-edi: # var/edi <- decrement => 4f/decrement-edi "decrement"/imm32/name 0/imm32/no-inouts @@ -9016,8 +9016,8 @@ _Primitive-dec-edi: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-mem/imm32/next -_Primitive-inc-mem: + _Primitive-increment-mem/imm32/next +_Primitive-increment-mem: # increment var => ff 0/subop/increment *(ebp+__) "increment"/imm32/name Single-int-var-in-mem/imm32/inouts @@ -9028,8 +9028,8 @@ _Primitive-inc-mem: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-inc-reg/imm32/next -_Primitive-inc-reg: + _Primitive-increment-reg/imm32/next +_Primitive-increment-reg: # var/reg <- increment => ff 0/subop/increment %__ "increment"/imm32/name 0/imm32/no-inouts @@ -9040,8 +9040,8 @@ _Primitive-inc-reg: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-mem/imm32/next -_Primitive-dec-mem: + _Primitive-decrement-mem/imm32/next +_Primitive-decrement-mem: # decrement var => ff 1/subop/decrement *(ebp+__) "decrement"/imm32/name Single-int-var-in-mem/imm32/inouts @@ -9052,8 +9052,8 @@ _Primitive-dec-mem: 0/imm32/no-imm32 0/imm32/no-disp32 0/imm32/output-is-write-only - _Primitive-dec-reg/imm32/next -_Primitive-dec-reg: + _Primitive-decrement-reg/imm32/next +_Primitive-decrement-reg: # var/reg <- decrement => ff 1/subop/decrement %__ "decrement"/imm32/name 0/imm32/no-inouts |