mirror of
https://github.com/mirror/tinycc.git
synced 2025-02-26 08:00:09 +08:00
moved i368 specific code
This commit is contained in:
parent
308017d5e0
commit
421911f921
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user