{
if (options['R']) C_sbu(sz);
else {
- C_cal(sz == word_size ? "subu" : "subul");
- c_asp((int)sz);
+ CAL((int) sz == (int) word_size ? "subu" : "subul", (int) sz);
}
}
{
if (options['R']) C_adu(sz);
else {
- C_cal(sz == word_size ? "addu" : "addul");
- c_asp((int)sz);
+ CAL((int) sz == (int) word_size ? "addu" : "addul", (int) sz);
}
}
case S_ABS:
CodePExpr(left);
if (tp->tp_fund == T_INTEGER) {
- if (tp->tp_size == int_size) C_cal("absi");
- else C_cal("absl");
+ CAL((int)(tp->tp_size) == (int)int_size ? "absi" : "absl", (int)(tp->tp_size));
}
else if (tp->tp_fund == T_REAL) {
- if (tp->tp_size == float_size) C_cal("absf");
- else C_cal("absd");
+ CAL((int)(tp->tp_size) == (int)float_size ? "absf" : "absd", (int)(tp->tp_size));
}
- c_asp((int)(tp->tp_size));
C_lfr(tp->tp_size);
break;
C_mlu(tp->tp_size);
}
else {
- C_cal(tp->tp_size <= word_size ?
- "mulu" :
- "mulul");
- c_asp((int)(tp->tp_size));
+ CAL((int)(tp->tp_size) <= (int)word_size ? "mulu" : "mulul",
+ (int)(tp->tp_size));
}
break;
case T_REAL:
}
else C_loc((arith) (eltype->enm_ncst - 1));
Operands(nd);
- C_cal("LtoUset"); /* library routine to fill set */
- c_asp(5 * (int)word_size);
+ CAL("LtoUset", 5 * (int) word_size);
+ /* library routine to fill set */
}
else {
CodePExpr(nd);
if (chkptr && ! options['R']) {
C_dup(pointer_size);
C_loi((arith) 1);
- c_asp((int)word_size);
+ C_asp(word_size);
}
free_desig(designator);
}
C_lae_dlb(l, (arith) 0);
}
-c_asp(n)
+CAL(name, ssp)
+ char *name;
+ int ssp;
{
- C_asp((arith) n);
+ C_cal(name);
+ C_asp((arith) ssp);
}
#endif
#endif
CodeAddress(ds);
CodeConst(tp->tp_size, (int) pointer_size);
- C_cal("load");
- c_asp((int)pointer_size + (int)pointer_size);
+ CAL("load", (int)pointer_size + (int)pointer_size);
break;
}
break;
CodeAddress(lhs);
C_loc(rtp->tp_size);
C_loc(tp->tp_size);
- C_cal("StringAssign");
- c_asp((int)pointer_size + (int)pointer_size + (int)dword_size);
+ CAL("StringAssign", (int)pointer_size + (int)pointer_size + (int)dword_size);
break;
}
CodeStore(lhs, tp);
case USE_LOAD_STORE:
case USE_LOI_STI:
CodeConst(tp->tp_size, (int) pointer_size);
- C_cal("blockmove");
- c_asp(3 * (int)pointer_size);
+ CAL("blockmove", 3 * (int)pointer_size);
break;
}
break;
}
c_lae_dlb(ol);
if (size <= word_size) {
- C_cal(btp->tp_fund == T_INTEGER ? "rcki" : "rcku");
+ CAL(btp->tp_fund == T_INTEGER ? "rcki" : "rcku", (int) pointer_size);
}
else {
- C_cal(btp->tp_fund == T_INTEGER ? "rckil" : "rckul");
+ CAL(btp->tp_fund == T_INTEGER ? "rckil" : "rckul", (int) pointer_size);
}
- c_asp((int)pointer_size);
}
getbounds(tp, plo, phi)
if (priority) {
tmpprio = NewInt();
C_loc(priority->nd_INT);
- C_cal("stackprio");
- c_asp((int)word_size);
+ CAL("stackprio", (int) word_size);
C_lfr(word_size);
C_stl(tmpprio);
}
{
if (priority) {
C_lol(tmpprio);
- C_cal("unstackprio");
- c_asp((int)word_size);
+ CAL("unstackprio", (int) word_size);
FreeInt(tmpprio);
}
}
}
/* First compute new stackpointer */
C_lal(param->par_def->var_off);
- C_cal("new_stackptr");
- c_asp((int)pointer_size);
+ CAL("new_stackptr", (int)pointer_size);
C_lfr(pointer_size);
- C_str((arith) 1);
+ C_ass(pointer_size);
/* adjusted stack pointer */
LOL(param->par_def->var_off, pointer_size);
/* push source address */
- C_cal("copy_array");
+ CAL("copy_array", (int)pointer_size);
/* copy */
- c_asp((int)pointer_size);
}
}
}
if (df->df_kind == D_MODULE) {
C_lxl((arith) 0);
- C_cal(df->mod_vis->sc_scope->sc_name);
- c_asp((int)pointer_size);
+ CAL(df->mod_vis->sc_scope->sc_name, (int)pointer_size);
}
}
#include "squeeze.h"
#ifndef SQUEEZE
-#define c_asp(x) C_asp((arith) (x))
#define c_loc(x) C_loc((arith) (x))
#define c_lae_dlb(x) C_lae_dlb(x,(arith) 0)
+#define CAL(nm, sz) (C_cal(nm), C_asp((arith)(sz)))
#endif