re PR target/31768 (Invalid code or ICE for %z constraint)
PR target/31768 * config/i386/i386.c (print_operand) ['z']: Output 'w' for operands of size 2 when operand is not MEM_P. From-SVN: r124379
This commit is contained in:
parent
e604f56c8f
commit
f3ba423529
2 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-05-03 Uros Bizjak <ubizjak@gmail.com>
|
||||
|
||||
PR target/31768
|
||||
* config/i386/i386.c (print_operand) ['z']: Output 'w' for
|
||||
operands of size 2 when operand is not MEM_P.
|
||||
|
||||
2007-05-03 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
PR tree-optimization/30565
|
||||
|
|
|
@ -8372,9 +8372,15 @@ print_operand (FILE *file, rtx x, int code)
|
|||
return;
|
||||
|
||||
case 2:
|
||||
if (MEM_P (x))
|
||||
{
|
||||
#ifdef HAVE_GAS_FILDS_FISTS
|
||||
putc ('s', file);
|
||||
putc ('s', file);
|
||||
#endif
|
||||
return;
|
||||
}
|
||||
else
|
||||
putc ('w', file);
|
||||
return;
|
||||
|
||||
case 4:
|
||||
|
|
Loading…
Add table
Reference in a new issue