05.02.2013 Views

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

ARM Architecture Reference Manual ARMv7-A and ARMv7-R edition

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Assembler syntax<br />

where:<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7.<br />

Must be one of:<br />

MLA op = 1<br />

MLS op = 0.<br />

Instruction Details<br />

VN.F64 , , Encoding T1 / A1 with sz = 1<br />

VN.F32 , , Encoding T1 / A1 with sz = 0<br />

VNMUL.F64 {,} , Encoding T2 / A2 with sz = 1<br />

VNMUL.F32 {,} , Encoding T2 / A2 with sz = 0<br />

, , The destination register <strong>and</strong> the oper<strong>and</strong> registers, for a double-precision operation.<br />

, , The destination register <strong>and</strong> the oper<strong>and</strong> registers, for a single-precision operation.<br />

Operation<br />

enumeration VFPNegMul {VFPNegMul_VNMLA, VFPNegMul_VNMLS, VFPNegMul_VNMUL};<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckVFPEnabled(TRUE);<br />

if dp_operation then<br />

product = FPMul(D[n], D[m], TRUE);<br />

case type of<br />

when VFPNegMul_VNMLA D[d] = FPAdd(FPNeg(D[d]), FPNeg(product), TRUE);<br />

when VFPNegMul_VNMLS D[d] = FPAdd(FPNeg(D[d]), product, TRUE);<br />

when VFPNegMul_VNMUL D[d] = FPNeg(product);<br />

else<br />

product = FPMul(S[n], S[m], TRUE);<br />

case type of<br />

when VFPNegMul_VNMLA S[d] = FPAdd(FPNeg(S[d]), FPNeg(product), TRUE);<br />

when VFPNegMul_VNMLS S[d] = FPAdd(FPNeg(S[d]), product, TRUE);<br />

when VFPNegMul_VNMUL S[d] = FPNeg(product);<br />

Exceptions<br />

Undefined Instruction.<br />

Floating-point exceptions: Invalid Operation, Overflow, Underflow, Inexact, Input Denormal.<br />

<strong>ARM</strong> DDI 0406B Copyright © 1996-1998, 2000, 2004-2008 <strong>ARM</strong> Limited. All rights reserved. A8-675

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!