Home | History | Annotate | Download | only in x86
      1 %default {"instr":"","load":"","store":""}
      2     /*
      3      * Generic 32-bit FP conversion operation.
      4      */
      5     /* unop vA, vB */
      6     movzbl   rINST_HI,%ecx           # ecx<- A+
      7     sarl     $$12,rINST_FULL         # rINST_FULL<- B
      8     $load    (rFP,rINST_FULL,4)      # %st0<- vB
      9     andb     $$0xf,%cl               # ecx<- A
     10     FETCH_INST_WORD(1)
     11     ADVANCE_PC(1)
     12     $instr
     13     $store  (rFP,%ecx,4)             # vA<- %st0
     14     GOTO_NEXT
     15