[PATCH] target/56875: Work around buggy GAS
Jan-Benedict Glaw
jbglaw@lug-owl.de
Fri Sep 20 17:16:00 GMT 2013
On Fri, 2013-09-20 18:58:23 +0200, Jan-Benedict Glaw <jbglaw@lug-owl.de> wrote:
> VAX GAS has a glitch when generating a 64bit value from a small
> negative integer, which isn't properly sign-extended. (I'll see if
> this can be fixed without breaking other cases.)
>
> However, GCC should work around this by simply using the already
> prepared formatting operand code 'D'. The patch also introduces a new
> vax.exp fragment (under gcc.target).
>
> Ok?
[...]
Forgot the ChangeLog entry:
PR56875:
2013-09-20 Martin Husemann <martin@duskware.de>
Jan-Benedict Glaw <jbglaw@lug-owl.de>
gcc/
* config/vax/vax.c (vax_output_int_move): Use D format specifier.
* config/vax/vax.md (ashldi3, <unnamed>): Ditto
gcc/testsuite/
* gcc.target/vax/vax.exp: New.
* gcc.target/vax/pr56875.c: Ditto.
MfG, JBG
--
Jan-Benedict Glaw jbglaw@lug-owl.de +49-172-7608481
Signature of: http://perl.plover.com/Questions.html
the second :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20130920/33309f6b/attachment.sig>
More information about the Gcc-patches
mailing list