omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / seed / ng / front / cases / lsc_shf64.om
| 1 | note lsc_shf64: omc admits a float shift amount and tests its raw register (f64 1.0 traps 7). ng front-ir |
| 2 | note does not lower it: exit 64, no output (cases-lower-scope.txt) |
| 3 | fn main to int |
| 4 | x = ulong 1 |
| 5 | b = f64 1.0 |
| 6 | y = shl x b |
| 7 | ret int y |
| 8 | end |