summaryrefslogtreecommitdiff
path: root/gcc/config/i386
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2003-06-01 18:10:09 +0200
committerEric Botcazou <ebotcazou@gcc.gnu.org>2003-06-01 16:10:09 +0000
commita3033f34cfe544f69cf769ce74a1a6f59b2dd95a (patch)
treefad4202f9522d15d00aaf5595bb88251dfffe1a3 /gcc/config/i386
parente25a75e6da62acd97a31b7a190e28dee53d93b49 (diff)
downloadgcc-a3033f34cfe544f69cf769ce74a1a6f59b2dd95a.tar.gz
re PR target/11044 ([x86] out of range loop instructions for FP code on K6)
PR target/11044 * config/i386/i386.md (length attribute): Set length to 4 for instructions of type "fcmp". From-SVN: r67300
Diffstat (limited to 'gcc/config/i386')
-rw-r--r--gcc/config/i386/i386.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.md b/gcc/config/i386/i386.md
index eb03cf2b8d5..181cf7e56aa 100644
--- a/gcc/config/i386/i386.md
+++ b/gcc/config/i386/i386.md
@@ -283,6 +283,8 @@
(define_attr "length" ""
(cond [(eq_attr "type" "other,multi,fistp")
(const_int 16)
+ (eq_attr "type" "fcmp")
+ (const_int 4)
(eq_attr "unit" "i387")
(plus (const_int 2)
(plus (attr "prefix_data16")