diff options
author | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 20:11:01 +0000 |
---|---|---|
committer | uros <uros@138bc75d-0d04-0410-961f-82ee72b054a4> | 2009-04-25 20:11:01 +0000 |
commit | f047dd27e7c115b46c20e69619df910179c76877 (patch) | |
tree | 0ca4e57a6c4459b52bb0b824a879bb108ab115ec /gcc/config | |
parent | 4e30bc1556568e41c6dc78d8f2eaa498e67535b0 (diff) | |
download | gcc-f047dd27e7c115b46c20e69619df910179c76877.tar.gz |
PR target/39897
* config/i386/i386.c (print_operand) ['z']: Revert handling of
HImode operands.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@146784 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/i386/i386.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 65ee05c81b5..67a4efc04b7 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -10996,7 +10996,17 @@ print_operand (FILE *file, rtx x, int code) return; case 2: - putc ('w', file); + /* ??? This fails for HImode integer + operator with memory operand. */ + if (MEM_P (x)) + { +#ifdef HAVE_AS_IX86_FISTS + putc ('s', file); +#endif + return; + } + else + putc ('w', file); return; case 4: |