Back to index

plt-scheme  4.2.1
Defines
fp.h File Reference

Go to the source code of this file.

Defines

#define JIT_FPR_NUM   6
#define JIT_FPR(i)   (8+(i))
#define JIT_FPFR   0
#define jit_data(REG, D1)   (_FBA (18, 8, 0, 1), _jit_L(D1), MFLRr(REG))
#define jit_addr_d(rd, s1, s2)   FADDDrrr((rd),(s1),(s2))
#define jit_subr_d(rd, s1, s2)   FSUBDrrr((rd),(s1),(s2))
#define jit_subrr_d(rd, s1, s2)   FSUBDrrr((rd),(s2),(s1))
#define jit_mulr_d(rd, s1, s2)   FMULDrrr((rd),(s1),(s2))
#define jit_divr_d(rd, s1, s2)   FDIVDrrr((rd),(s1),(s2))
#define jit_divrr_d(rd, s1, s2)   FDIVDrrr((rd),(s2),(s1))
#define jit_addr_f(rd, s1, s2)   FADDSrrr((rd),(s1),(s2))
#define jit_subr_f(rd, s1, s2)   FSUBSrrr((rd),(s1),(s2))
#define jit_mulr_f(rd, s1, s2)   FMULSrrr((rd),(s1),(s2))
#define jit_divr_f(rd, s1, s2)   FDIVSrrr((rd),(s1),(s2))
#define jit_movr_d(rd, rs)   ( (rd) == (rs) ? 0 : FMOVErr((rd),(rs)))
#define jit_movi_d(reg0, d)
#define jit_movr_f(rd, rs)   ( (rd) == (rs) ? 0 : FMOVErr((rd),(rs)))
#define jit_movi_f(reg0, f)
#define jit_abs_d(rd, rs)   FABSrr((rd),(rs))
#define jit_negr_d(rd, rs)   FNEGrr((rd),(rs))
#define jit_sqrt_d(rd, rs)   FSQRTDrr((rd),(rs))
#define jit_ldxi_f(reg0, rs, is)   (_siP(16,(is)) ? LFSrri((reg0),(rs),(is)) : (MOVEIri(JIT_AUX,(is)),LFSxrrr((reg0),(rs),JIT_AUX)))
#define jit_ldxi_d(reg0, rs, is)   (_siP(16,(is)) ? LFDrri((reg0),(rs),(is)) : (MOVEIri(JIT_AUX,(is)),LFDxrrr((reg0),(rs),JIT_AUX)))
#define jit_ldxr_f(reg0, s1, s2)   LFSxrrr((reg0),(s1),(s2))
#define jit_ldxr_d(reg0, s1, s2)   LFDxrrr((reg0),(s1),(s2))
#define jit_ldi_f(reg0, is)   (_siP(16,(is)) ? LFSrri((reg0),0,(is)) : (MOVEIri(JIT_AUX,(is)),LFSrri((reg0),JIT_AUX,0)))
#define jit_ldi_d(reg0, is)   (_siP(16,(is)) ? LFDrri((reg0),0,(is)) : (MOVEIri(JIT_AUX,(is)),LFDrri((reg0),JIT_AUX,0)))
#define jit_ldr_f(reg0, rs)   LFSrri((reg0),(rs),0)
#define jit_ldr_d(reg0, rs)   LFDrri((reg0),(rs),0)
#define jit_stxi_f(id, rd, reg0)   (_siP(16,(id)) ? STFSrri((reg0),(rd),(id)) : (MOVEIri(JIT_AUX,(id)),STFSrri((reg0),(rd),JIT_AUX)))
#define jit_stxi_d(id, rd, reg0)   (_siP(16,(id)) ? STFDrri((reg0),(rd),(id)) : (MOVEIri(JIT_AUX,(id)),STFDrri((reg0),(rd),JIT_AUX)))
#define jit_stxr_f(d1, d2, reg0)   STFSxrrr((reg0),(d1),(d2))
#define jit_stxr_d(d1, d2, reg0)   STFDxrrr((reg0),(d1),(d2))
#define jit_sti_f(id, reg0)   (_siP(16,(id)) ? STFSrri((reg0),0,(id)) : (MOVEIri(JIT_AUX,(id)),STFSrri((reg0),JIT_AUX,0)))
#define jit_sti_d(id, reg0)   (_siP(16,(id)) ? STFDrri((reg0),0,(id)) : (MOVEIri(JIT_AUX,(id)),STFDrri((reg0),JIT_AUX,0)))
#define jit_str_f(rd, reg0)   STFSrri((reg0),(rd),0)
#define jit_str_d(rd, reg0)   STFDrri((reg0),(rd),0)
#define jit_fpboolr(d, s1, s2, rcbit)
#define jit_fpboolr_neg(d, s1, s2, rcbit)
#define jit_fpboolur(d, s1, s2, rcbit)
#define jit_fpboolur_neg(d, s1, s2, rcbit)
#define jit_fpboolur_or(d, s1, s2, bit1, bit2)
#define jit_gtr_d(d, s1, s2)   jit_fpboolr ((d),(s1),(s2),_gt)
#define jit_ger_d(d, s1, s2)   jit_fpboolr_neg((d),(s1),(s2),_lt)
#define jit_ltr_d(d, s1, s2)   jit_fpboolr ((d),(s1),(s2),_lt)
#define jit_ler_d(d, s1, s2)   jit_fpboolr_neg((d),(s1),(s2),_gt)
#define jit_eqr_d(d, s1, s2)   jit_fpboolr ((d),(s1),(s2),_eq)
#define jit_ner_d(d, s1, s2)   jit_fpboolr_neg((d),(s1),(s2),_eq)
#define jit_unordr_d(d, s1, s2)   jit_fpboolur ((d),(s1),(s2),_un)
#define jit_ordr_d(d, s1, s2)   jit_fpboolur_neg((d),(s1),(s2),_un)
#define jit_unler_d(d, s1, s2)   jit_fpboolur_neg ((d), (s1), (s2), _gt)
#define jit_unltr_d(d, s1, s2)   jit_fpboolur_or ((d), (s1), (s2), _un, _lt)
#define jit_unger_d(d, s1, s2)   jit_fpboolur_neg ((d), (s1), (s2), _lt)
#define jit_ungtr_d(d, s1, s2)   jit_fpboolur_or ((d), (s1), (s2), _un, _gt)
#define jit_ltgtr_d(d, s1, s2)   jit_fpboolur_or ((d), (s1), (s2), _gt, _lt)
#define jit_uneqr_d(d, s1, s2)   jit_fpboolur_or ((d), (s1), (s2), _un, _eq)
#define jit_fpbr(d, s1, s2, rcbit)
#define jit_fpbr_neg(d, s1, s2, rcbit)
#define jit_fpbur(d, s1, s2, rcbit)
#define jit_fpbur_neg(d, s1, s2, rcbit)
#define jit_fpbur_or(d, s1, s2, bit1, bit2)
#define jit_fpbur_or_neg(d, s1, s2, bit1, bit2)
#define jit_bgtr_d(d, s1, s2)   jit_fpbur ((d),(s1),(s2),_gt)
#define jit_bger_d(d, s1, s2)   jit_fpbur_or((d),(s1),(s2),_gt, _eq)
#define jit_bltr_d(d, s1, s2)   jit_fpbur ((d),(s1),(s2),_lt)
#define jit_bler_d(d, s1, s2)   jit_fpbur_or((d),(s1),(s2),_lt, _eq)
#define jit_beqr_d(d, s1, s2)   jit_fpbur ((d),(s1),(s2),_eq)
#define jit_bner_d(d, s1, s2)   jit_fpbur_neg((d),(s1),(s2),_eq)
#define jit_bunordr_d(d, s1, s2)   jit_fpbur ((d),(s1),(s2),_un)
#define jit_bordr_d(d, s1, s2)   jit_fpbur_neg((d),(s1),(s2),_un)
#define jit_bunler_d(d, s1, s2)   jit_fpbur_neg ((d), (s1), (s2), _gt)
#define jit_bunltr_d(d, s1, s2)   jit_fpbur_or ((d), (s1), (s2), _un, _lt)
#define jit_bunger_d(d, s1, s2)   jit_fpbur_neg ((d), (s1), (s2), _lt)
#define jit_bungtr_d(d, s1, s2)   jit_fpbur_or ((d), (s1), (s2), _un, _gt)
#define jit_bltgtr_d(d, s1, s2)   jit_fpbur_or ((d), (s1), (s2), _gt, _lt)
#define jit_buneqr_d(d, s1, s2)   jit_fpbur_or ((d), (s1), (s2), _un, _eq)
#define jit_bantiltr_d(d, s1, s2)   jit_fpbur_neg ((d),(s1),(s2),_lt)
#define jit_bantiler_d(d, s1, s2)   jit_fpbur_or_neg ((d),(s1),(s2),_lt, _eq)
#define jit_bantieqr_d(d, s1, s2)   jit_fpbur_neg ((d),(s1),(s2),_eq)
#define jit_bantiger_d(d, s1, s2)   jit_fpbur_or_neg ((d),(s1),(s2),_gt, _eq)
#define jit_bantigtr_d(d, s1, s2)   jit_fpbur_neg ((d),(s1),(s2),_gt)
#define jit_getarg_f(rd, ofs)   jit_movr_f((rd),(ofs))
#define jit_getarg_d(rd, ofs)   jit_movr_d((rd),(ofs))
#define jit_pusharg_d(rs)   (_jitl.nextarg_putd--,jit_movr_d((_jitl.nextarg_putf+_jitl.nextarg_putd+1), (rs)))
#define jit_pusharg_f(rs)   (_jitl.nextarg_putf--,jit_movr_f((_jitl.nextarg_putf+_jitl.nextarg_putd+1), (rs)))
#define jit_retval_d(op1)   jit_movr_d(1, (op1))
#define jit_retval_f(op1)   jit_movr_f(1, (op1))
#define jit_floorr_d_i(rd, rs)
#define jit_ceilr_d_i(rd, rs)
#define jit_roundr_d_i(rd, rs)
#define jit_truncr_d_i(rd, rs)

Define Documentation

#define jit_abs_d (   rd,
  rs 
)    FABSrr((rd),(rs))

Definition at line 81 of file fp.h.

#define jit_addr_d (   rd,
  s1,
  s2 
)    FADDDrrr((rd),(s1),(s2))

Definition at line 47 of file fp.h.

#define jit_addr_f (   rd,
  s1,
  s2 
)    FADDSrrr((rd),(s1),(s2))

Definition at line 54 of file fp.h.

#define jit_bantieqr_d (   d,
  s1,
  s2 
)    jit_fpbur_neg ((d),(s1),(s2),_eq)

Definition at line 189 of file fp.h.

#define jit_bantiger_d (   d,
  s1,
  s2 
)    jit_fpbur_or_neg ((d),(s1),(s2),_gt, _eq)

Definition at line 190 of file fp.h.

#define jit_bantigtr_d (   d,
  s1,
  s2 
)    jit_fpbur_neg ((d),(s1),(s2),_gt)

Definition at line 191 of file fp.h.

#define jit_bantiler_d (   d,
  s1,
  s2 
)    jit_fpbur_or_neg ((d),(s1),(s2),_lt, _eq)

Definition at line 188 of file fp.h.

#define jit_bantiltr_d (   d,
  s1,
  s2 
)    jit_fpbur_neg ((d),(s1),(s2),_lt)

Definition at line 187 of file fp.h.

#define jit_beqr_d (   d,
  s1,
  s2 
)    jit_fpbur ((d),(s1),(s2),_eq)

Definition at line 176 of file fp.h.

#define jit_bger_d (   d,
  s1,
  s2 
)    jit_fpbur_or((d),(s1),(s2),_gt, _eq)

Definition at line 173 of file fp.h.

#define jit_bgtr_d (   d,
  s1,
  s2 
)    jit_fpbur ((d),(s1),(s2),_gt)

Definition at line 172 of file fp.h.

#define jit_bler_d (   d,
  s1,
  s2 
)    jit_fpbur_or((d),(s1),(s2),_lt, _eq)

Definition at line 175 of file fp.h.

#define jit_bltgtr_d (   d,
  s1,
  s2 
)    jit_fpbur_or ((d), (s1), (s2), _gt, _lt)

Definition at line 184 of file fp.h.

#define jit_bltr_d (   d,
  s1,
  s2 
)    jit_fpbur ((d),(s1),(s2),_lt)

Definition at line 174 of file fp.h.

#define jit_bner_d (   d,
  s1,
  s2 
)    jit_fpbur_neg((d),(s1),(s2),_eq)

Definition at line 177 of file fp.h.

#define jit_bordr_d (   d,
  s1,
  s2 
)    jit_fpbur_neg((d),(s1),(s2),_un)

Definition at line 179 of file fp.h.

#define jit_buneqr_d (   d,
  s1,
  s2 
)    jit_fpbur_or ((d), (s1), (s2), _un, _eq)

Definition at line 185 of file fp.h.

#define jit_bunger_d (   d,
  s1,
  s2 
)    jit_fpbur_neg ((d), (s1), (s2), _lt)

Definition at line 182 of file fp.h.

#define jit_bungtr_d (   d,
  s1,
  s2 
)    jit_fpbur_or ((d), (s1), (s2), _un, _gt)

Definition at line 183 of file fp.h.

#define jit_bunler_d (   d,
  s1,
  s2 
)    jit_fpbur_neg ((d), (s1), (s2), _gt)

Definition at line 180 of file fp.h.

#define jit_bunltr_d (   d,
  s1,
  s2 
)    jit_fpbur_or ((d), (s1), (s2), _un, _lt)

Definition at line 181 of file fp.h.

#define jit_bunordr_d (   d,
  s1,
  s2 
)    jit_fpbur ((d),(s1),(s2),_un)

Definition at line 178 of file fp.h.

#define jit_ceilr_d_i (   rd,
  rs 
)
Value:
(MTFSFIri(7,2), \
                                  FCTIWrr(7,(rs)),    \
                                  MOVEIri(JIT_AUX,-4), \
                                  STFIWXrrr(7,JIT_SP,JIT_AUX),   \
                                  LWZrm((rd),-4,JIT_SP))

Definition at line 207 of file fp.h.

#define jit_data (   REG,
  D1 
)    (_FBA (18, 8, 0, 1), _jit_L(D1), MFLRr(REG))

Definition at line 45 of file fp.h.

#define jit_divr_d (   rd,
  s1,
  s2 
)    FDIVDrrr((rd),(s1),(s2))

Definition at line 51 of file fp.h.

#define jit_divr_f (   rd,
  s1,
  s2 
)    FDIVSrrr((rd),(s1),(s2))

Definition at line 57 of file fp.h.

#define jit_divrr_d (   rd,
  s1,
  s2 
)    FDIVDrrr((rd),(s2),(s1))

Definition at line 52 of file fp.h.

#define jit_eqr_d (   d,
  s1,
  s2 
)    jit_fpboolr ((d),(s1),(s2),_eq)

Definition at line 135 of file fp.h.

#define jit_floorr_d_i (   rd,
  rs 
)
Value:
(MTFSFIri(7,3), \
                                  FCTIWrr(7,(rs)),    \
                                  MOVEIri(JIT_AUX,-4), \
                                  STFIWXrrr(7,JIT_SP,JIT_AUX),   \
                                  LWZrm((rd),-4,JIT_SP))

Definition at line 201 of file fp.h.

#define jit_fpboolr (   d,
  s1,
  s2,
  rcbit 
)
Value:
(             \
       FCMPOrrr(_cr0,(s1),(s2)),          \
       MFCRr((d)),                        \
       EXTRWIrrii((d), (d), 1, (rcbit)))

Definition at line 103 of file fp.h.

#define jit_fpboolr_neg (   d,
  s1,
  s2,
  rcbit 
)
Value:
(      \
       FCMPOrrr(_cr0,(s1),(s2)),          \
       MFCRr((d)),                        \
       EXTRWIrrii((d), (d), 1, (rcbit)),  \
       XORIrri((d), (d), 1))

Definition at line 108 of file fp.h.

#define jit_fpboolur (   d,
  s1,
  s2,
  rcbit 
)
Value:
(      \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       MFCRr((d)),                        \
       EXTRWIrrii((d), (d), 1, (rcbit)))

Definition at line 114 of file fp.h.

#define jit_fpboolur_neg (   d,
  s1,
  s2,
  rcbit 
)
Value:
(      \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       MFCRr((d)),                        \
       EXTRWIrrii((d), (d), 1, (rcbit)),  \
       XORIrri((d), (d), 1))

Definition at line 119 of file fp.h.

#define jit_fpboolur_or (   d,
  s1,
  s2,
  bit1,
  bit2 
)
Value:
(\
       FCMPUrrr(_cr0,(s1),(s2)),          \
       CRORiii((bit1), (bit1), (bit2)),   \
       MFCRr((d)),                        \
       EXTRWIrrii((d), (d), 1, (bit1)))

Definition at line 125 of file fp.h.

#define jit_fpbr (   d,
  s1,
  s2,
  rcbit 
)
Value:
(             \
       FCMPOrrr(_cr0,(s1),(s2)),          \
       BTii ((rcbit), (d)), _jit.x.pc)

Definition at line 146 of file fp.h.

#define jit_fpbr_neg (   d,
  s1,
  s2,
  rcbit 
)
Value:
(      \
       FCMPOrrr(_cr0,(s1),(s2)),          \
       BFii ((rcbit), (d)), _jit.x.pc)

Definition at line 150 of file fp.h.

#define jit_fpbur (   d,
  s1,
  s2,
  rcbit 
)
Value:
(             \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       BTii ((rcbit), (d)), _jit.x.pc)

Definition at line 154 of file fp.h.

#define jit_fpbur_neg (   d,
  s1,
  s2,
  rcbit 
)
Value:
(      \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       BFii ((rcbit), (d)), _jit.x.pc)

Definition at line 158 of file fp.h.

#define jit_fpbur_or (   d,
  s1,
  s2,
  bit1,
  bit2 
)
Value:
(      \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       CRORiii((bit1), (bit1), (bit2)),   \
       BTii ((bit1), (d)), _jit.x.pc)

Definition at line 162 of file fp.h.

#define jit_fpbur_or_neg (   d,
  s1,
  s2,
  bit1,
  bit2 
)
Value:
(      \
       FCMPUrrr(_cr0,(s1),(s2)),          \
       CRORiii((bit1), (bit1), (bit2)),   \
       BFii ((bit1), (d)), _jit.x.pc)

Definition at line 167 of file fp.h.

#define JIT_FPFR   0

Definition at line 42 of file fp.h.

#define JIT_FPR (   i)    (8+(i))

Definition at line 40 of file fp.h.

#define JIT_FPR_NUM   6

Definition at line 39 of file fp.h.

#define jit_ger_d (   d,
  s1,
  s2 
)    jit_fpboolr_neg((d),(s1),(s2),_lt)

Definition at line 132 of file fp.h.

#define jit_getarg_d (   rd,
  ofs 
)    jit_movr_d((rd),(ofs))

Definition at line 194 of file fp.h.

#define jit_getarg_f (   rd,
  ofs 
)    jit_movr_f((rd),(ofs))

Definition at line 193 of file fp.h.

#define jit_gtr_d (   d,
  s1,
  s2 
)    jit_fpboolr ((d),(s1),(s2),_gt)

Definition at line 131 of file fp.h.

#define jit_ldi_d (   reg0,
  is 
)    (_siP(16,(is)) ? LFDrri((reg0),0,(is)) : (MOVEIri(JIT_AUX,(is)),LFDrri((reg0),JIT_AUX,0)))

Definition at line 91 of file fp.h.

#define jit_ldi_f (   reg0,
  is 
)    (_siP(16,(is)) ? LFSrri((reg0),0,(is)) : (MOVEIri(JIT_AUX,(is)),LFSrri((reg0),JIT_AUX,0)))

Definition at line 90 of file fp.h.

#define jit_ldr_d (   reg0,
  rs 
)    LFDrri((reg0),(rs),0)

Definition at line 93 of file fp.h.

#define jit_ldr_f (   reg0,
  rs 
)    LFSrri((reg0),(rs),0)

Definition at line 92 of file fp.h.

#define jit_ldxi_d (   reg0,
  rs,
  is 
)    (_siP(16,(is)) ? LFDrri((reg0),(rs),(is)) : (MOVEIri(JIT_AUX,(is)),LFDxrrr((reg0),(rs),JIT_AUX)))

Definition at line 87 of file fp.h.

#define jit_ldxi_f (   reg0,
  rs,
  is 
)    (_siP(16,(is)) ? LFSrri((reg0),(rs),(is)) : (MOVEIri(JIT_AUX,(is)),LFSxrrr((reg0),(rs),JIT_AUX)))

Definition at line 86 of file fp.h.

#define jit_ldxr_d (   reg0,
  s1,
  s2 
)    LFDxrrr((reg0),(s1),(s2))

Definition at line 89 of file fp.h.

#define jit_ldxr_f (   reg0,
  s1,
  s2 
)    LFSxrrr((reg0),(s1),(s2))

Definition at line 88 of file fp.h.

#define jit_ler_d (   d,
  s1,
  s2 
)    jit_fpboolr_neg((d),(s1),(s2),_gt)

Definition at line 134 of file fp.h.

#define jit_ltgtr_d (   d,
  s1,
  s2 
)    jit_fpboolur_or ((d), (s1), (s2), _gt, _lt)

Definition at line 143 of file fp.h.

#define jit_ltr_d (   d,
  s1,
  s2 
)    jit_fpboolr ((d),(s1),(s2),_lt)

Definition at line 133 of file fp.h.

#define jit_movi_d (   reg0,
 
)
Value:
do {                   \
      double _v = (d);                            \
      _FBA (18, 12, 0, 1);                  \
      memcpy(_jit.x.uc_pc, &_v, sizeof (double)); \
      _jit.x.uc_pc += sizeof (double);            \
      MFLRr (JIT_AUX);                             \
      jit_ldxi_d((reg0), JIT_AUX, 0);              \
   } while(0)

Definition at line 60 of file fp.h.

#define jit_movi_f (   reg0,
 
)
Value:
do {                   \
      float _v = (f);                             \
      _FBA (18, 8, 0, 1);                   \
      memcpy(_jit.x.uc_pc, &_v, sizeof (float));  \
      _jit.x.uc_pc += sizeof (float);             \
      MFLRr (JIT_AUX);                             \
      jit_ldxi_f((reg0), JIT_AUX, 0);              \
   } while(0)

Definition at line 71 of file fp.h.

#define jit_movr_d (   rd,
  rs 
)    ( (rd) == (rs) ? 0 : FMOVErr((rd),(rs)))

Definition at line 59 of file fp.h.

#define jit_movr_f (   rd,
  rs 
)    ( (rd) == (rs) ? 0 : FMOVErr((rd),(rs)))

Definition at line 70 of file fp.h.

#define jit_mulr_d (   rd,
  s1,
  s2 
)    FMULDrrr((rd),(s1),(s2))

Definition at line 50 of file fp.h.

#define jit_mulr_f (   rd,
  s1,
  s2 
)    FMULSrrr((rd),(s1),(s2))

Definition at line 56 of file fp.h.

#define jit_negr_d (   rd,
  rs 
)    FNEGrr((rd),(rs))

Definition at line 82 of file fp.h.

#define jit_ner_d (   d,
  s1,
  s2 
)    jit_fpboolr_neg((d),(s1),(s2),_eq)

Definition at line 136 of file fp.h.

#define jit_ordr_d (   d,
  s1,
  s2 
)    jit_fpboolur_neg((d),(s1),(s2),_un)

Definition at line 138 of file fp.h.

#define jit_pusharg_d (   rs)    (_jitl.nextarg_putd--,jit_movr_d((_jitl.nextarg_putf+_jitl.nextarg_putd+1), (rs)))

Definition at line 195 of file fp.h.

#define jit_pusharg_f (   rs)    (_jitl.nextarg_putf--,jit_movr_f((_jitl.nextarg_putf+_jitl.nextarg_putd+1), (rs)))

Definition at line 196 of file fp.h.

#define jit_retval_d (   op1)    jit_movr_d(1, (op1))

Definition at line 197 of file fp.h.

#define jit_retval_f (   op1)    jit_movr_f(1, (op1))

Definition at line 198 of file fp.h.

#define jit_roundr_d_i (   rd,
  rs 
)
Value:
(MTFSFIri(7,0), \
                                  FCTIWrr(7,(rs)),    \
                                  MOVEIri(JIT_AUX,-4), \
                                  STFIWXrrr(7,JIT_SP,JIT_AUX),   \
                                  LWZrm((rd),-4,JIT_SP))

Definition at line 213 of file fp.h.

#define jit_sqrt_d (   rd,
  rs 
)    FSQRTDrr((rd),(rs))

Definition at line 83 of file fp.h.

#define jit_sti_d (   id,
  reg0 
)    (_siP(16,(id)) ? STFDrri((reg0),0,(id)) : (MOVEIri(JIT_AUX,(id)),STFDrri((reg0),JIT_AUX,0)))

Definition at line 99 of file fp.h.

#define jit_sti_f (   id,
  reg0 
)    (_siP(16,(id)) ? STFSrri((reg0),0,(id)) : (MOVEIri(JIT_AUX,(id)),STFSrri((reg0),JIT_AUX,0)))

Definition at line 98 of file fp.h.

#define jit_str_d (   rd,
  reg0 
)    STFDrri((reg0),(rd),0)

Definition at line 101 of file fp.h.

#define jit_str_f (   rd,
  reg0 
)    STFSrri((reg0),(rd),0)

Definition at line 100 of file fp.h.

#define jit_stxi_d (   id,
  rd,
  reg0 
)    (_siP(16,(id)) ? STFDrri((reg0),(rd),(id)) : (MOVEIri(JIT_AUX,(id)),STFDrri((reg0),(rd),JIT_AUX)))

Definition at line 95 of file fp.h.

#define jit_stxi_f (   id,
  rd,
  reg0 
)    (_siP(16,(id)) ? STFSrri((reg0),(rd),(id)) : (MOVEIri(JIT_AUX,(id)),STFSrri((reg0),(rd),JIT_AUX)))

Definition at line 94 of file fp.h.

#define jit_stxr_d (   d1,
  d2,
  reg0 
)    STFDxrrr((reg0),(d1),(d2))

Definition at line 97 of file fp.h.

#define jit_stxr_f (   d1,
  d2,
  reg0 
)    STFSxrrr((reg0),(d1),(d2))

Definition at line 96 of file fp.h.

#define jit_subr_d (   rd,
  s1,
  s2 
)    FSUBDrrr((rd),(s1),(s2))

Definition at line 48 of file fp.h.

#define jit_subr_f (   rd,
  s1,
  s2 
)    FSUBSrrr((rd),(s1),(s2))

Definition at line 55 of file fp.h.

#define jit_subrr_d (   rd,
  s1,
  s2 
)    FSUBDrrr((rd),(s2),(s1))

Definition at line 49 of file fp.h.

#define jit_truncr_d_i (   rd,
  rs 
)
Value:
(FCTIWZrr(7,(rs)), \
                                  MOVEIri(JIT_AUX,-4), \
                                  STFIWXrrr(7,JIT_SP,JIT_AUX),   \
                                  LWZrm((rd),-4,JIT_SP))

Definition at line 219 of file fp.h.

#define jit_uneqr_d (   d,
  s1,
  s2 
)    jit_fpboolur_or ((d), (s1), (s2), _un, _eq)

Definition at line 144 of file fp.h.

#define jit_unger_d (   d,
  s1,
  s2 
)    jit_fpboolur_neg ((d), (s1), (s2), _lt)

Definition at line 141 of file fp.h.

#define jit_ungtr_d (   d,
  s1,
  s2 
)    jit_fpboolur_or ((d), (s1), (s2), _un, _gt)

Definition at line 142 of file fp.h.

#define jit_unler_d (   d,
  s1,
  s2 
)    jit_fpboolur_neg ((d), (s1), (s2), _gt)

Definition at line 139 of file fp.h.

#define jit_unltr_d (   d,
  s1,
  s2 
)    jit_fpboolur_or ((d), (s1), (s2), _un, _lt)

Definition at line 140 of file fp.h.

#define jit_unordr_d (   d,
  s1,
  s2 
)    jit_fpboolur ((d),(s1),(s2),_un)

Definition at line 137 of file fp.h.