about summary refs log tree commit diff
path: root/soft-fp
diff options
context:
space:
mode:
Diffstat (limited to 'soft-fp')
-rw-r--r--soft-fp/op-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/soft-fp/op-common.h b/soft-fp/op-common.h
index 5dfb73c185..dbc107773e 100644
--- a/soft-fp/op-common.h
+++ b/soft-fp/op-common.h
@@ -1284,7 +1284,7 @@ do {									\
 	  r -= 1 - X##_s;						\
 	} else {							\
 	  r = 0;							\
-	  if (X##_s)							\
+	  if (!X##_s)							\
 	    r = ~r;							\
 	}								\
 									\