Home | History | Annotate | Download | only in priv

Lines Matching refs:sreg

487 static Int segmentGuestRegOffset ( UInt sreg )
489 switch (sreg) {
564 static IRExpr* getSReg ( UInt sreg )
566 return IRExpr_Get( segmentGuestRegOffset(sreg), Ity_I16 );
569 static void putSReg ( UInt sreg, IRExpr* e )
572 stmt( IRStmt_Put( segmentGuestRegOffset(sreg), e ) );
1284 static HChar* nameSReg ( UInt sreg )
1286 switch (sreg) {
1398 Int sreg;
1407 case 0x3E: sreg = R_DS; break;
1408 case 0x26: sreg = R_ES; break;
1409 case 0x64: sreg = R_FS; break;
1410 case 0x65: sreg = R_GS; break;
1421 assign( seg_selector, unop(Iop_16Uto32, getSReg(sreg)) );
6785 void dis_push_segreg ( UInt sreg, Int sz )
6791 assign( t1, getSReg(sreg) );
6796 DIP("push%c %s\n", sz==2 ? 'w' : 'l', nameSReg(sreg));
6800 void dis_pop_segreg ( UInt sreg, Int sz )
6810 putSReg( sreg, mkexpr(t1) );
6811 DIP("pop%c %s\n", sz==2 ? 'w' : 'l', nameSReg(sreg));
14793 /* =-=-=-=-=-=-=-=-=- PUSH/POP Sreg =-=-=-=-=-=-=-=-=-= */