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.

Instruction Details<br />

A8.6.404 VSUBL, VSUBW<br />

Vector Subtract Long subtracts the elements of one doubleword vector from the corresponding elements of<br />

another doubleword vector, <strong>and</strong> places the results in a quadword vector. Before subtracting, it sign-extends<br />

or zero-extends the elements of both oper<strong>and</strong>s.<br />

Vector Subtract Wide subtracts the elements of a doubleword vector from the corresponding elements of a<br />

quadword vector, <strong>and</strong> places the results in another quadword vector. Before subtracting, it sign-extends or<br />

zero-extends the elements of the doubleword oper<strong>and</strong>.<br />

Encoding T1 / A1 Advanced SIMD<br />

VSUBL. , , <br />

VSUBW. {,} , <br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

1 1 1 U 1 1 1 1 1 D size Vn Vd 0 0 1 op N 0 M 0 Vm<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

1 1 1 1 0 0 1 U 1 D size Vn Vd 0 0 1 op N 0 M 0 Vm<br />

if size == ‘11’ then SEE “Related encodings”;<br />

if Vd == ‘1’ || (op == ‘1’ && Vn == ‘1’) then UNDEFINED;<br />

esize = 8

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

Saved successfully!

Ooh no, something went wrong!