Add standard expansions for fcopysign.
This is also just a sign bit manipulation.
This commit is contained in:
@@ -84,4 +84,9 @@ ebb0(v0: f64, v1: f64):
|
||||
|
||||
; function %f64_min(f64, f64) -> f64
|
||||
; function %f64_max(f64, f64) -> f64
|
||||
; function %f64_copysign(f64, f64) -> f64
|
||||
|
||||
function %f64_copysign(f64, f64) -> f64 {
|
||||
ebb0(v0: f64, v1: f64):
|
||||
v2 = fcopysign v0, v1
|
||||
return v2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user