Transcribe the content in @aph.png Called the Read tool with the following input:…
- User
Transcribe the content in @aph.png
Called the Read tool with the following input: {"filePath":"C:\tmp\test_opencode\aph.png"}
Image read successfully
Assistant
"RDNA3.5" Instruction Set Architecture AMD
16.12. VOP3 & VOP3SD Instructions
VOP3 instructions use one of two encodings:
[Bit field diagrams showing VOP3 and VOP3SD encodings with fields: NEG, OMOD, SRC2, OP, CM, SRC1, OPSEL/SDST, ABS, VDST/SRC0]
VOP3SD - this encoding allows specifying a unique scalar destination, and is used only for:
- V_ADD_CO_U32
- V_SUB_CO_U32
- V_SUBREV_CO_U32
- V_ADDC_CO_U32
- V_SUBB_CO_U32
- V_SUBBREV_CO_U32
- V_DIV_SCALE_F32
- V_DIV_SCALE_F64
- V_MAD_U64_U32
- V_MAD_I64_I32
VOP3 - all other VALU instructions use this encoding
V_NOP (page 384) Do nothing.
V_MOV_B32 (page 385) Move 32-bit data from a vector input into a vector register. D0.b32 = S0.b32
Notes Floating-point modifiers are valid for this instruction if S0 is a 32-bit floating point value. This instruction is suitable for negating or taking the absolute value of a floating-point value.
Functional examples: v_mov_b32 v0, v1 // Move into v0 from v1 v_mov_b32 v0, -v1 // Set v0 to the negation of v1 v_mov_b32 v0, abs(v1) // Set v0 to the absolute value of v1
16.12. VOP3 & VOP3SD Instructions Page 389 of 644
- User
Transcribe the bitfield diagrams
Assistant
VOP3 Encoding (64-bit):
codeBits 31-0: | 1 | 1 | 0 | 1 | 0 | 1 | OP | CM | OPSEL₄ | ABS₃ | VDST₈ | |←---------------- 32 bits -----------------→| Bits 63-32: | NEG | OMOD | SRC2₉ | SRC1₉ | SRC0₉ | |←---------------- 32 bits -----------------→|VOP3SD Encoding (64-bit):
codeBits 31-0: | 1 | 1 | 0 | 1 | 0 | 1 | OP | CM | SDST₇ | VDST₈ | |←---------------- 32 bits -----------------→| Bits 63-32: | NEG | OMOD | SRC2₉ | SRC1₉ | SRC0₉ | |←---------------- 32 bits -----------------→|Field Descriptions:
- 110101 (6 bits): Fixed encoding prefix
- OP: Operation code