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 />

V.F32 {,} , Encoded as Q = 1<br />

V.F32 {,} , Encoded as Q = 0<br />

where:<br />

Must be one of:<br />

MAX encoded as op = 0<br />

MIN encoded as op = 1.<br />

Instruction Details<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VMAX or VMIN<br />

instruction must be unconditional.<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors, for a quadword operation.<br />

, , The destination vector <strong>and</strong> the oper<strong>and</strong> vectors, for a doubleword operation.<br />

Operation<br />

if ConditionPassed() then<br />

EncodingSpecificOperations(); CheckAdvSIMDEnabled();<br />

for r = 0 to regs-1<br />

for e = 0 to elements-1<br />

op1 = Elem[D[n+r],e,esize]; op2 = Elem[D[m+r],e,esize];<br />

Elem[D[d+r],e,esize] = if maximum then FPMax(op1,op2,FALSE) else FPMin(op1,op2,FALSE);<br />

Exceptions<br />

Undefined Instruction.<br />

Floating-point maximum <strong>and</strong> minimum<br />

max(+0.0, –0.0) = +0.0<br />

min(+0.0, –0.0) = –0.0<br />

If any input is a NaN, the corresponding result element is the default NaN.<br />

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

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

Saved successfully!

Ooh no, something went wrong!