Home | History | Annotate | Download | only in x86_64

Lines Matching defs:rex

221 #define P_REXW		0x200		/* set rex.w = 1 */
240 int rex = 0;
242 rex |= (opc & P_REXW) >> 6; /* REX.W */
243 rex |= (r & 8) >> 1; /* REX.R */
244 rex |= (x & 8) >> 2; /* REX.X */
245 rex |= (rm & 8) >> 3; /* REX.B */
248 For %[abcd]l we need no REX prefix, but for %{si,di,bp,sp}l we do,
250 that are ORed in merely indicate that the REX byte must be present;
252 rex |= opc & (r >= 4 ? P_REXB_R : 0);
253 rex |= opc & (rm >= 4 ? P_REXB_RM : 0);
255 if (rex) {
256 tcg_out8(s, (uint8_t)(rex | 0x40));