replace x86.T with native.T

This commit is contained in:
Michael Sippel 2025-03-20 16:28:16 +01:00
parent e29a5a3475
commit f67f8c0118
Signed by: senvas
GPG key ID: F96CF119C34B64A6
12 changed files with 91 additions and 91 deletions

View file

@ -2,8 +2,8 @@
```
morph_i64_as_twos_complement_to_zigzag ()
~ x86.Int64
--> ~ ZigZagInt ~ ~ x86.UInt64
~ native.Int64
--> ~ ZigZagInt ~ ~ native.UInt64
```
if( *src >= 0 ) {
*dst = (2 * (uint64_t)*src)
@ -15,8 +15,8 @@ morph_i64_as_twos_complement_to_zigzag ()
```
morph_i64_as_zigzag_to_twos_complement ()
~ ZigZagInt ~ ~ x86.UInt64
--> ~ x86.Int64
~ ZigZagInt ~ ~ native.UInt64
--> ~ native.Int64
```
if( *src % 2 == 0 ) {
*dst = *src / 2;