Commit f3ba4235 by Uros Bizjak Committed by Uros Bizjak

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
parent e604f56c
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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment