diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 6c9fa11ccf8d5d08fad9fba73628fe8433e32668..6b165df44921c4bcb82cb0cfcb8af7b99c1affe6 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2006-10-14  Uros Bizjak  <uros@kss-loka.si>
+
+	* config/i386/athlon.md (athlon_fist): Add fisttp.
+
 2006-10-13  David Edelsohn  <edelsohn@gnu.org>
 	    Ian Lance Taylor  <ian@airs.com>
 
diff --git a/gcc/config/i386/athlon.md b/gcc/config/i386/athlon.md
index 86130b778089082c41e8292378bd0a573c74b790..6d92b948b4db1489d33dbf367250c0835c622693 100644
--- a/gcc/config/i386/athlon.md
+++ b/gcc/config/i386/athlon.md
@@ -343,7 +343,7 @@
 			 "athlon-direct,(athlon-fpsched+athlon-agu),(athlon-fstore+athlon-store)")
 (define_insn_reservation "athlon_fist" 4
 			 (and (eq_attr "cpu" "athlon,k8,generic64")
-			      (eq_attr "type" "fistp"))
+			      (eq_attr "type" "fistp,fisttp"))
 			 "athlon-direct,(athlon-fpsched+athlon-agu),(athlon-fstore+athlon-store)")
 (define_insn_reservation "athlon_fmov" 2
 			 (and (eq_attr "cpu" "athlon,k8,generic64")