Removed
Link Here
|
1 |
# This works around a fatal error in qemu-bsd-user dealing with floats in a |
2 |
# very complex way. This is arguably a bug in this code too, but for now |
3 |
# patch around it so that we can get ports building via qemu-bsd-user and |
4 |
# get more testing. sbruno 16SEP2014 |
5 |
--- orc/orcprogram-c.c.orig 2019-09-09 07:21:43 UTC |
6 |
+++ orc/orcprogram-c.c |
7 |
@@ -826,7 +826,7 @@ c_rule_loadpX (OrcCompiler *p, void *user, OrcInstruct |
8 |
ORC_ASM_CODE(p," %s = 0x%08x; /* %d or %gf */\n", dest, |
9 |
(unsigned int)p->vars[insn->src_args[0]].value.i, |
10 |
(int)p->vars[insn->src_args[0]].value.i, |
11 |
- p->vars[insn->src_args[0]].value.f); |
12 |
+ p->vars[insn->src_args[0]].value.x2f[0]); |
13 |
} else { |
14 |
ORC_ASM_CODE(p," %s = ORC_UINT64_C(0x%08x%08x); /* %gf */\n", dest, |
15 |
(orc_uint32)(((orc_uint64)p->vars[insn->src_args[0]].value.i)>>32), |