Typo fix.

This commit is contained in:
David Given 2016-10-31 23:16:02 +01:00
parent 941072e0d7
commit 9261cd978d

View file

@ -712,12 +712,12 @@ PATTERNS
FPU8R(DIVF.D, "fdiv")
#define FMALEFT(type, insn, add, mul) \
out:(type)reg = add(mul(m1:(double)reg, m2:(double)reg), m3:(double)reg) \
out:(type)reg = add(mul(m1:(type)reg, m2:(type)reg), m3:(type)reg) \
emit insn " %out, %m1, %m2, %m3" \
cost 4; \
#define FMARIGHT(type, insn, add, mul) \
out:(type)reg = add(m3:(double)reg, mul(m1:(double)reg, m2:(double)reg)) \
out:(type)reg = add(m3:(type)reg, mul(m1:(type)reg, m2:(type)reg)) \
emit insn " %out, %m1, %m2, %m3" \
cost 4; \
@ -730,15 +730,15 @@ PATTERNS
FMALEFT( float, "fmsubs", SUBF.F, MULF.F)
FMARIGHT(double, "fnmadd", SUBF.D, MULF.D)
FMARIGHT(float, "fnmadds", SUBF.D, MULF.D)
FMARIGHT(float, "fnmadds", SUBF.F, MULF.F)
#define FMANEGLEFT(type, insn, neg, add, mul) \
out:(type)reg = neg(add(mul(m1:(double)reg, m2:(double)reg), m3:(double)reg)) \
out:(type)reg = neg(add(mul(m1:(type)reg, m2:(type)reg), m3:(type)reg)) \
emit insn " %out, %m1, %m2, %m3" \
cost 4; \
#define FMANEGRIGHT(type, insn, neg, add, mul) \
out:(type)reg = neg(add(m3:(double)reg, mul(m1:(double)reg, m2:(double)reg))) \
out:(type)reg = neg(add(m3:(type)reg, mul(m1:(type)reg, m2:(type)reg))) \
emit insn " %out, %m1, %m2, %m3" \
cost 4; \