moved i368 specific code

tcc-xref
bellard 2002-02-10 16:13:14 +00:00
parent 308017d5e0
commit 421911f921
1 changed files with 7 additions and 0 deletions

View File

@ -443,11 +443,18 @@ void gfunc_epilog(void)
*func_sub_sp_ptr = (-loc + 3) & -4;
}
/* generate a jump to a label */
int gjmp(int t)
{
return psym(0xe9, t);
}
/* generate a jump to a fixed address */
void gjmp_addr(int a)
{
oad(0xe9, a - ind - 5);
}
/* generate a test. set 'inv' to invert test. Stack entry is popped */
int gtst(int inv, int t)
{