
Software Optimization Guide for AMD64 Processors | 25112 Rev. 3.06 September 2005 |
C.5 | 3DNow!™ Technology Instructions |
|
| |||||
Table 16. | 3DNow!™ Technology Instructions |
|
|
|
| |||
|
|
|
|
|
|
|
|
|
|
|
| Encoding | Decode | FPU |
|
| |
Syntax |
|
|
|
| Latency | Note | ||
| Prefix |
| ModRM | |||||
| imm8 | type | pipe(s) | |||||
|
|
|
| |||||
|
| byte(s) | byte |
|
|
|
| |
|
|
|
|
|
|
|
|
|
FEMMS |
| 0Fh | 0Eh |
| DirectPath | FADD/FMUL/ | 2 | 2 |
|
|
|
|
|
| FSTORE |
|
|
|
|
|
|
|
|
|
| |
PAVGUSB mmreg1, mmreg2 | 0Fh, 0Fh | BFh | DirectPath | FADD/FMUL | 2 |
| ||
|
|
|
|
|
|
|
| |
PAVGUSB mmreg, mem64 | 0Fh, 0Fh | BFh | DirectPath | FADD/FMUL | 4 |
| ||
|
|
|
|
|
|
|
| |
PF2ID mmreg1, mmreg2 | 0Fh, 0Fh | 1Dh | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PF2ID mmreg, mem64 | 0Fh, 0Fh | 1Dh | DirectPath | FADD | 6 |
| ||
|
|
|
|
|
|
|
| |
PFACC mmreg1, mmreg2 | 0Fh, 0Fh | AEh | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFACC mmreg, mem64 | 0Fh, 0Fh | AEh | DirectPath | FADD | 6 |
| ||
|
|
|
|
|
|
|
| |
PFADD mmreg1, mmreg2 | 0Fh, 0Fh | 9Eh | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFADD mmreg, mem64 | 0Fh, 0Fh | 9Eh | DirectPath | FADD | 6 |
| ||
|
|
|
|
|
|
|
| |
PFCMPEQ mmreg1, mmreg2 | 0Fh, 0Fh | B0h | DirectPath | FADD | 2 |
| ||
|
|
|
|
|
|
|
| |
PFCMPEQ mmreg, mem64 | 0Fh, 0Fh | B0h | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFCMPGE mmreg1, mmreg2 | 0Fh, 0Fh | 90h | DirectPath | FADD | 2 |
| ||
|
|
|
|
|
|
|
| |
PFCMPGE mmreg, mem64 | 0Fh, 0Fh | 90h | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFCMPGT mmreg1, mmreg2 | 0Fh, 0Fh | A0h | DirectPath | FADD | 2 |
| ||
|
|
|
|
|
|
|
| |
PFCMPGT mmreg, mem64 | 0Fh, 0Fh | A0h | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFMAX mmreg1, mmreg2 | 0Fh, 0Fh | A4h | DirectPath | FADD | 2 |
| ||
|
|
|
|
|
|
|
| |
PFMAX mmreg, mem64 | 0Fh, 0Fh | A4h | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFMIN mmreg1, mmreg2 | 0Fh, 0Fh | 94h | DirectPath | FADD | 2 |
| ||
|
|
|
|
|
|
|
| |
PFMIN mmreg, mem64 | 0Fh, 0Fh | 94h | DirectPath | FADD | 4 |
| ||
|
|
|
|
|
|
|
| |
PFMUL mmreg1, mmreg2 | 0Fh, 0Fh | B4h | DirectPath | FMUL | 4 |
| ||
|
|
|
|
|
|
|
| |
PFMUL mmreg, mem64 | 0Fh, 0Fh | B4h | DirectPath | FMUL | 6 |
| ||
|
|
|
|
|
|
|
| |
PFRCP mmreg1, mmreg2 | 0Fh, 0Fh | 96h | DirectPath | FMUL | 3 |
| ||
|
|
|
|
|
|
|
| |
PFRCP mmreg, mem64 | 0Fh, 0Fh | 96h | DirectPath | FMUL | 5 |
| ||
|
|
|
|
|
|
|
| |
PFRCPIT1 mmreg1, mmreg2 | 0Fh, 0Fh | A6h | DirectPath | FMUL | 4 |
| ||
|
|
|
|
|
|
|
| |
PFRCPIT1 mmreg, mem64 | 0Fh, 0Fh | A6h | DirectPath | FMUL | 6 |
| ||
|
|
|
|
|
|
|
| |
PFRCPIT2 mmreg1, mmreg2 | 0Fh, 0Fh | B6h | DirectPath | FMUL | 4 |
| ||
|
|
|
|
|
|
|
| |
PFRCPIT2 mmreg, mem64 | 0Fh, 0Fh | B6h | DirectPath | FMUL | 6 |
| ||
|
|
|
|
|
|
|
| |
PFRSQIT1 mmreg1, mmreg2 | 0Fh, 0Fh | A7h | DirectPath | FMUL | 4 |
| ||
|
|
|
|
|
|
|
|
|
Notes: |
|
|
|
|
|
|
|
|
1. For the PREFETCH and PREFETCHW instructions, the mem8 value refers to an address in the | ||||||||
be prefetched. |
|
|
|
|
|
|
| |
2. The byte listed in the column titled ‘imm8’ is actually the opcode byte. |
|
|
| |||||
|
|
|
|
|
|
|
|
|
314 | Instruction Latencies | Appendix C |