Files
wasmtime/cranelift/filetests/isa/x86/legalize-br-table.cton
bjorn3 5db45d26cc Legalize several i8 insts (#380)
* Legalize several i8 insts

* X86: implement regmove.{i8,i16}

* Legalize bnot

* Remove comments

* Nicer type param binding in legalize.py

* Legalize sdiv_imm.i8

* Hopefully fix mypy error

* Add missing trailing newlines

* Fix tests
2018-07-04 06:31:00 -07:00

18 lines
230 B
Plaintext

test compile
target x86_64
function u0:0(i64) system_v {
ss0 = explicit_slot 1
jt0 = jump_table ebb1
ebb0(v0: i64):
v1 = stack_addr.i64 ss0
v2 = load.i8 v1
br_table v2, jt0
jump ebb1
ebb1:
return
}