projects
/
platform
/
upstream
/
orc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a361e7c
)
Fix loading of double parameters in the non-ORC C code
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Fri, 8 Oct 2010 10:29:27 +0000
(12:29 +0200)
committer
David Schleef
<ds@schleef.org>
Thu, 14 Oct 2010 01:13:07 +0000
(18:13 -0700)
orc/orcprogram-c.c
patch
|
blob
|
history
diff --git
a/orc/orcprogram-c.c
b/orc/orcprogram-c.c
index
dfed3fe
..
c5a3baa
100644
(file)
--- a/
orc/orcprogram-c.c
+++ b/
orc/orcprogram-c.c
@@
-761,7
+761,8
@@
c_rule_loadpX (OrcCompiler *p, void *user, OrcInstruction *insn)
int size = ORC_PTR_TO_INT(user);
if ((p->target_flags & ORC_TARGET_C_NOEXEC) &&
- (p->vars[insn->src_args[0]].param_type == ORC_PARAM_TYPE_FLOAT))
+ (p->vars[insn->src_args[0]].param_type == ORC_PARAM_TYPE_FLOAT ||
+ p->vars[insn->src_args[0]].param_type == ORC_PARAM_TYPE_DOUBLE))
c_get_name_float (dest, p, insn, insn->dest_args[0]);
else
c_get_name_int (dest, p, insn, insn->dest_args[0]);