parent
abf320d40e
commit
0603ad8c65
|
@ -208,6 +208,8 @@ MipsTargetLowering(MipsTargetMachine &TM)
|
|||
setOperationAction(ISD::FEXP, MVT::f32, Expand);
|
||||
setOperationAction(ISD::FMA, MVT::f32, Expand);
|
||||
setOperationAction(ISD::FMA, MVT::f64, Expand);
|
||||
setOperationAction(ISD::FREM, MVT::f32, Expand);
|
||||
setOperationAction(ISD::FREM, MVT::f64, Expand);
|
||||
|
||||
setOperationAction(ISD::EXCEPTIONADDR, MVT::i32, Expand);
|
||||
setOperationAction(ISD::EXCEPTIONADDR, MVT::i64, Expand);
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
; RUN: llc < %s -march=mipsel
|
||||
|
||||
define float @fmods(float %x, float %y) {
|
||||
entry:
|
||||
%r = frem float %x, %y
|
||||
ret float %r
|
||||
}
|
||||
|
||||
define double @fmodd(double %x, double %y) {
|
||||
entry:
|
||||
%r = frem double %x, %y
|
||||
ret double %r
|
||||
}
|
Loading…
Reference in New Issue