summaryrefslogtreecommitdiffhomepage
path: root/ir/be/amd64
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2018-05-04 21:26:23 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2018-05-04 23:58:33 +0200
commit72377f1ddccefa6ab7fafc7820caf38bcd12f36e (patch)
treeace77e5d24093a11fbc9f9bbf176901f22a064c4 /ir/be/amd64
parent1959798de0b402e7a827434081a71e2163917509 (diff)
amd64: Allow x87 registers as input even if clobbered.
Diffstat (limited to 'ir/be/amd64')
-rw-r--r--ir/be/amd64/amd64_spec.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/ir/be/amd64/amd64_spec.pl b/ir/be/amd64/amd64_spec.pl
index be20d85..49068ab 100644
--- a/ir/be/amd64/amd64_spec.pl
+++ b/ir/be/amd64/amd64_spec.pl
@@ -54,6 +54,7 @@ $mode_x87 = "x86_mode_E";
]
},
x87 => {
+ flags => "allow_clobber_input",
mode => $mode_x87,
registers => [
{ name => "st0", realname => "st", encoding => 0, dwarf => 11 },