Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
fixup! [codegen] legalize imul for 64-bit and 128-bit operands
Browse files Browse the repository at this point in the history
  • Loading branch information
ryzokuken committed Oct 9, 2019
1 parent 052a355 commit 1b18bf7
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions filetests/isa/x86/imul-i128.clif
Expand Up @@ -9,9 +9,12 @@ ebb0:
v21 = iconst.i64 0x42e1f3054ca7432
v22 = iconst.i64 0xf606ba453589ef89
v2 = iconcat v21, v22
v10 = imul v1, v2
v20 = icmp_imm.i128 eq v10, 0xa363ce3b6849f307be2044b2742ebd44
return v20
v31 = iconst.i64 0xa363ce3b6849f307
v32 = iconst.i64 0xbe2044b2742ebd44
v3 = iconcat v31, v32
v4 = imul v1, v2
v5 = icmp eq v3, v4
return v5
}

; run

0 comments on commit 1b18bf7

Please sign in to comment.