Changeset View
Changeset View
Standalone View
Standalone View
llvm/trunk/test/CodeGen/Mips/fcopysign.ll
Show All 22 Lines | |||||
; 64: dsll $[[MSK1:[0-9]+]], $[[T0]], 63 | ; 64: dsll $[[MSK1:[0-9]+]], $[[T0]], 63 | ||||
; 64: and $[[AND1:[0-9]+]], ${{[0-9]+}}, $[[MSK1]] | ; 64: and $[[AND1:[0-9]+]], ${{[0-9]+}}, $[[MSK1]] | ||||
; 64: daddiu $[[MSK0:[0-9]+]], $[[MSK1]], -1 | ; 64: daddiu $[[MSK0:[0-9]+]], $[[MSK1]], -1 | ||||
; 64: and $[[AND0:[0-9]+]], ${{[0-9]+}}, $[[MSK0]] | ; 64: and $[[AND0:[0-9]+]], ${{[0-9]+}}, $[[MSK0]] | ||||
; 64: or $[[OR:[0-9]+]], $[[AND0]], $[[AND1]] | ; 64: or $[[OR:[0-9]+]], $[[AND0]], $[[AND1]] | ||||
; 64: dmtc1 $[[OR]], $f0 | ; 64: dmtc1 $[[OR]], $f0 | ||||
; 64R2: dextu $[[EXT:[0-9]+]], ${{[0-9]+}}, 63, 1 | ; 64R2: dextu $[[EXT:[0-9]+]], ${{[0-9]+}}, 63, 1 | ||||
; 64R2: dins $[[INS:[0-9]+]], $[[EXT]], 63, 1 | ; 64R2: dinsu $[[INS:[0-9]+]], $[[EXT]], 63, 1 | ||||
; 64R2: dmtc1 $[[INS]], $f0 | ; 64R2: dmtc1 $[[INS]], $f0 | ||||
%call = tail call double @copysign(double %d0, double %d1) nounwind readnone | %call = tail call double @copysign(double %d0, double %d1) nounwind readnone | ||||
ret double %call | ret double %call | ||||
} | } | ||||
declare double @copysign(double, double) nounwind readnone | declare double @copysign(double, double) nounwind readnone | ||||
define float @func1(float %f0, float %f1) nounwind readnone { | define float @func1(float %f0, float %f1) nounwind readnone { | ||||
Show All 20 Lines |