Lines Matching defs:arg
1556 void x87_fild( struct x86_function *p, struct x86_reg arg )
1558 DUMP_R( arg );
1560 emit_modrm_noreg(p, 0, arg);
1572 void x87_fldcw( struct x86_function *p, struct x86_reg arg )
1574 DUMP_R( arg );
1575 assert(arg.file == file_REG32);
1576 assert(arg.mod != mod_REG);
1578 emit_modrm_noreg(p, 5, arg);
1620 void x87_fcmovb( struct x86_function *p, struct x86_reg arg )
1622 DUMP_R( arg );
1623 assert(arg.file == file_x87);
1624 emit_2ub(p, 0xda, 0xc0+arg.idx);
1627 void x87_fcmove( struct x86_function *p, struct x86_reg arg )
1629 DUMP_R( arg );
1630 assert(arg.file == file_x87);
1631 emit_2ub(p, 0xda, 0xc8+arg.idx);
1634 void x87_fcmovbe( struct x86_function *p, struct x86_reg arg )
1636 DUMP_R( arg );
1637 assert(arg.file == file_x87);
1638 emit_2ub(p, 0xda, 0xd0+arg.idx);
1641 void x87_fcmovnb( struct x86_function *p, struct x86_reg arg )
1643 DUMP_R( arg );
1644 assert(arg.file == file_x87);
1645 emit_2ub(p, 0xdb, 0xc0+arg.idx);
1648 void x87_fcmovne( struct x86_function *p, struct x86_reg arg )
1650 DUMP_R( arg );
1651 assert(arg.file == file_x87);
1652 emit_2ub(p, 0xdb, 0xc8+arg.idx);
1655 void x87_fcmovnbe( struct x86_function *p, struct x86_reg arg )
1657 DUMP_R( arg );
1658 assert(arg.file == file_x87);
1659 emit_2ub(p, 0xdb, 0xd0+arg.idx);
1664 static void x87_arith_op( struct x86_function *p, struct x86_reg dst, struct x86_reg arg,
1673 if (arg.file == file_x87) {
1675 emit_2ub(p, dst0ub0, dst0ub1+arg.idx);
1676 else if (arg.idx == 0)
1677 emit_2ub(p, arg0ub0, arg0ub1+arg.idx);
1682 assert(arg.file == file_REG32);
1684 emit_modrm_noreg(p, argmem_noreg, arg);
1804 void x87_fucom( struct x86_function *p, struct x86_reg arg )
1806 DUMP_R( arg );
1807 assert(arg.file == file_x87);
1808 emit_2ub(p, 0xdd, 0xe0+arg.idx);
1811 void x87_fucomp( struct x86_function *p, struct x86_reg arg )
1813 DUMP_R( arg );
1814 assert(arg.file == file_x87);
1815 emit_2ub(p, 0xdd, 0xe8+arg.idx);
1827 void x87_fxch( struct x86_function *p, struct x86_reg arg )
1829 DUMP_R( arg );
1830 assert(arg.file == file_x87);
1831 emit_2ub(p, 0xd9, 0xc8+arg.idx);
1922 void x87_fld( struct x86_function *p, struct x86_reg arg )
1924 DUMP_R( arg );
1925 if (arg.file == file_x87)
1926 emit_2ub(p, 0xd9, 0xc0 + arg.idx);
1929 emit_modrm_noreg(p, 0, arg);
1987 void x87_fcomi( struct x86_function *p, struct x86_reg arg )
1989 DUMP_R( arg );
1990 emit_2ub(p, 0xdb, 0xf0+arg.idx);
1993 void x87_fcomip( struct x86_function *p, struct x86_reg arg )
1995 DUMP_R( arg );
1996 emit_2ub(p, 0xdb, 0xf0+arg.idx);
2111 unsigned arg )
2117 switch(arg)
2130 p->stack_offset + arg * 8);
2133 switch(arg)
2149 p->stack_offset + (arg - 6) * 8); /* ??? */
2153 p->stack_offset + arg * 4); /* ??? */