Revision b8b6a50b target-i386/ops_template.h

b/target-i386/ops_template.h
554 554
    T0 = DF << SHIFT;
555 555
}
556 556

  
557
/* port I/O */
558
#if DATA_BITS <= 32
559
void OPPROTO glue(glue(op_out, SUFFIX), _T0_T1)(void)
560
{
561
    glue(cpu_out, SUFFIX)(env, T0, T1 & DATA_MASK);
562
}
563

  
564
void OPPROTO glue(glue(op_in, SUFFIX), _T0_T1)(void)
565
{
566
    T1 = glue(cpu_in, SUFFIX)(env, T0);
567
}
568

  
569
void OPPROTO glue(glue(op_in, SUFFIX), _DX_T0)(void)
570
{
571
    T0 = glue(cpu_in, SUFFIX)(env, EDX & 0xffff);
572
}
573

  
574
void OPPROTO glue(glue(op_out, SUFFIX), _DX_T0)(void)
575
{
576
    glue(cpu_out, SUFFIX)(env, EDX & 0xffff, T0);
577
}
578

  
579
void OPPROTO glue(glue(op_check_io, SUFFIX), _T0)(void)
580
{
581
    glue(glue(check_io, SUFFIX), _T0)();
582
}
583

  
584
void OPPROTO glue(glue(op_check_io, SUFFIX), _DX)(void)
585
{
586
    glue(glue(check_io, SUFFIX), _DX)();
587
}
588
#endif
589

  
590 557
#undef DATA_BITS
591 558
#undef SHIFT_MASK
592 559
#undef SHIFT1_MASK

Also available in: Unified diff