diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index adcbd058c5e09a54b28a6ae1bb6f55925b4c2fc0..844115840fdab03e308d5cdf1ed4ba3bbfd8f858 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2005-08-12  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+	* config/s390/s390.md ("*movdf_31"): Changed constraint from P to K.
+
 2005-08-12  Paul Brook  <paul@codesourcery.com>
 
 	* config/arm/lib1funcs.asm: Error if __ARM_ARCH__ not set.
diff --git a/gcc/config/s390/s390.md b/gcc/config/s390/s390.md
index c09df126c03bc53f099e9385ffeeaa89c2354b60..26e0e792918fa8efbc6dbf793af47448f6936cf4 100644
--- a/gcc/config/s390/s390.md
+++ b/gcc/config/s390/s390.md
@@ -1396,7 +1396,7 @@
 
 (define_insn "*movdf_31"
   [(set (match_operand:DF 0 "nonimmediate_operand" "=f,f,f,f,R,T,d,d,Q,S,d,o,Q")
-        (match_operand:DF 1 "general_operand" "G,f,R,T,f,f,Q,S,d,d,dPm,d,Q"))]
+        (match_operand:DF 1 "general_operand" "G,f,R,T,f,f,Q,S,d,d,dKm,d,Q"))]
   "!TARGET_64BIT"
   "@
    lzdr\t%0