From: Christoph Mallon Date: Mon, 22 Oct 2012 19:14:42 +0000 (+0200) Subject: Properly specify alternate AM in the ia32_IJmp emit clause. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=3ab7a90b637bac14735be6852895616b9eb15d7b;p=libfirm Properly specify alternate AM in the ia32_IJmp emit clause. When hard-coding the *, invalid assembler gets emitted if an immediate ends up as ia32_IJmp operand. --- diff --git a/ir/be/ia32/ia32_spec.pl b/ir/be/ia32/ia32_spec.pl index d0acad172..1340f048f 100644 --- a/ir/be/ia32/ia32_spec.pl +++ b/ir/be/ia32/ia32_spec.pl @@ -1029,7 +1029,7 @@ IJmp => { reg_req => { in => [ "gp", "gp", "none", "gp" ] }, ins => [ "base", "index", "mem", "target" ], am => "source,unary", - emit => 'jmp *%AS3', + emit => 'jmp %*AS3', latency => 1, units => [ "BRANCH" ], mode => "mode_X",