Sun Microelectronics
213
13. UltraSPARC Extended Instructions
13.5.4.7 FMULD8ULx16
FMULD8ULx16 multiplies the unsigned lower 8 bits of each 16-bit value in rs1 by
the corresponding fixed point signed integer in rs2. Each 24-bit product is sign-
extended to 32 bits and stored in the rd register. The operation is illustrated in
Figure 13-14.
Figure 13-14 FMULD8ULx16 Operation
Code Example 13-2 16-bit x 16-bit → 32-bit Multiply
fmuld8sux16%f0, %f2, %f4
fmuld8ulx16%f0, %f2, %f6
fpadd32 %f4, %f6, %f8
3
rd
rs1
1
1
5
2
30
7
rs2
**
sign-extended
sign-extended
0
6
3
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com