Also use fmadd for single-precision floats.
This commit is contained in:
parent
064d1a5d5d
commit
44f0cea6ca
|
@ -719,6 +719,14 @@ PATTERNS
|
|||
emit "fmadd %out, %m1, %m2, %m3"
|
||||
cost 4;
|
||||
|
||||
out:(float)reg = ADDF.F(MULF.D(m1:(float)reg, m2:(float)reg), m3:(float)reg)
|
||||
emit "fmadds %out, %m1, %m2, %m3"
|
||||
cost 4;
|
||||
|
||||
out:(float)reg = ADDF.F(m3:(float)reg, MULF.D(m1:(float)reg, m2:(float)reg))
|
||||
emit "fmadds %out, %m1, %m2, %m3"
|
||||
cost 4;
|
||||
|
||||
out:(float)reg = NEGF.F(left:(float)reg)
|
||||
emit "fneg %out, %left"
|
||||
cost 4;
|
||||
|
|
Loading…
Reference in a new issue