Boxis R700 User Manual Page 193

  • Download
  • Add to my manuals
  • Print
  • Page
    / 392
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 192
ATI R700 Technology
ALU Instructions 9-95
Copyright © 2009 Advanced Micro Devices, Inc. All rights reserved.
Copy Signed Integer To Integer in AR and GPR
Instructions
MOVA_INT
Description Clamp the signed integer to the range [-256, +255], and copy the result to the address
register (AR) and to a GPR. See MOVA on page 9-93 for additional details.
dst = Undefined;
dstI = src0;
If (dstI < -256) {
dstI = 0x800; //-256
}
If (dstI > 0xFF) {
dstI = 0x800 //-256
}
Export(dstI); // signed 9-bit integer
Microcode
Format ALU_DWORD0 (page 10-16) and ALU_DWORD1_OP2 (page 10-18).
Instruction Field ALU_INST == OP2_INST_MOVA_INT, opcode 24 (0x18).
C DE
D
R
DST_GPR BS ALU_INST OMOD
W
M
U
P
U
E
M
S
1
A
S
0
A
+4
L PS IM
S
1
N
S1E
S
1
R
SRC1_SEL
S
0
N
S0E
S
0
R
SRC0_SEL
+0
Page view 192
1 2 ... 188 189 190 191 192 193 194 195 196 197 198 ... 391 392

Comments to this Manuals

No comments