示例#1
0
BI
sh64_fcmpges(SIM_CPU *current_cpu, SF frg, SF frh)
{
  sim_fpu f1, f2;

  sim_fpu_32to (&f1, frg);
  sim_fpu_32to (&f2, frh);
  return sim_fpu_is_ge (&f1, &f2);
}
示例#2
0
BI
sh64_fcmpged(SIM_CPU *current_cpu, DF drg, DF drh)
{
  sim_fpu f1, f2;

  sim_fpu_64to (&f1, drg);
  sim_fpu_64to (&f2, drh);
  return sim_fpu_is_ge (&f1, &f2);
}
示例#3
0
文件: cgen-accfp.c 项目: asdlei00/gdb
static int
gedf (CGEN_FPU* fpu, DF x, DF y)
{
    sim_fpu op1;
    sim_fpu op2;

    sim_fpu_64to (&op1, x);
    sim_fpu_64to (&op2, y);
    return sim_fpu_is_ge (&op1, &op2);
}
示例#4
0
文件: cgen-accfp.c 项目: asdlei00/gdb
static int
gesf (CGEN_FPU* fpu, SF x, SF y)
{
    sim_fpu op1;
    sim_fpu op2;

    sim_fpu_32to (&op1, x);
    sim_fpu_32to (&op2, y);
    return sim_fpu_is_ge (&op1, &op2);
}