3 ms·
The negated variant make sense compared to the original, it's really the definition of msub which is strange, I would expect msub to subtract the last operand f
by masklinn 5y ago
The negated variant make sense compared to the original, it's really the definition of msub which is strange, I would expect msub to subtract the last operand from the multiplication, not the other way around. The AMD64 mnemonics actually encode this order e.g. VFMADD213PDy is 2 * 1 + 3 (ba + c) while VFMADD132PDy is 1 * 3 + 2 (ac+b).
Though apparently the Dolphin folks disagree either way and interpret nmadd as (nm)add, rather than n(madd).
- pm215 5y agoThe Arm ARM says FNMADD is "Floating-point Negated fused Multiply-Add", so the position of the hyphens points strongly to "n(madd)" rather than "(nm)add".
- a1369209993 5y ago> ARM says FNMADD is "Floating-point Negated fused Multiply-Add", so the position of the hyphens points Never mind the hyphens, what do they think a "Negated fused Multiply" is?