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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Assembler syntax<br />

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

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

where:<br />

Instruction Details<br />

See St<strong>and</strong>ard assembler syntax fields on page A8-7. An <strong>ARM</strong> VCGT instruction must<br />

be unconditional.<br />

The data types for the elements of the oper<strong>and</strong>s. It must be one of:<br />

S8 encoding T1 / A1, size = 0b00, U = 0<br />

S16 encoding T1 / A1, size = 0b01, U = 0<br />

S32 encoding T1 / A1, size = 0b10, U = 0<br />

U8 encoding T1 / A1, size = 0b00, U = 1<br />

U16 encoding T1 / A1, size = 0b01, U = 1<br />

U32 encoding T1 / A1, size = 0b10, U = 1<br />

F32 encoding T2 / A2, sz = 0.<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 />

enumeration VCGTtype {VCGTtype_signed, VCGTtype_unsigned, VCGTtype_fp};<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 />

case type of<br />

when VCGTtype_signed test_passed = (SInt(op1) > SInt(op2));<br />

when VCGTtype_unsigned test_passed = (UInt(op1) > UInt(op2));<br />

when VCGTtype_fp test_passed = FPCompareGT(op1, op2, FALSE);<br />

Elem[D[d+r],e,esize] = if test_passed then Ones(esize) else Zeros(esize);<br />

Exceptions<br />

Undefined Instruction.<br />

Floating-point exceptions: Input Denormal <strong>and</strong> Invalid Operation.<br />

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

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

Saved successfully!

Ooh no, something went wrong!