x64: port fcmp to ISLE (#3967)
* x64: port scalar `fcmp` to ISLE Implement the CLIF lowering for the `fcmp` to ISLE. This adds a new type-matcher, `ty_scalar_float`, for detecting uses of `F32` and `F64`. * isle: rename `vec128` to `ty_vec12` This refactoring changes the name of the `vec128` matcher function to follow the `ty_*` convention of the other type matchers. It also makes the helper an inline function call. * x64: port vector `fcmp` to ISLE
This commit is contained in:
@@ -48,8 +48,8 @@ block0(v0: f64, v1: i64):
|
||||
; Inst 1: movq %rsp, %rbp
|
||||
; Inst 2: movsd 0(%rdi), %xmm1
|
||||
; Inst 3: ucomisd %xmm1, %xmm0
|
||||
; Inst 4: setnp %dil
|
||||
; Inst 5: setz %sil
|
||||
; Inst 4: setnp %sil
|
||||
; Inst 5: setz %dil
|
||||
; Inst 6: andl %edi, %esi
|
||||
; Inst 7: andq $1, %rsi
|
||||
; Inst 8: ucomisd %xmm0, %xmm1
|
||||
|
||||
Reference in New Issue
Block a user