aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Biener <rguenther@suse.de>2018-02-06 09:26:48 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2018-02-06 09:26:48 +0000
commit0e60956587f276f782d046daec7e3b5cd8f754d4 (patch)
tree0a978be7f421673db28ba762fc354c870774cbb6
parent9718199a1783488c346f656c2bec2d562e52fb02 (diff)
downloadgcc-0e60956587f276f782d046daec7e3b5cd8f754d4.zip
gcc-0e60956587f276f782d046daec7e3b5cd8f754d4.tar.gz
gcc-0e60956587f276f782d046daec7e3b5cd8f754d4.tar.bz2
i386.c (print_reg): Fix typo.
2018-02-06 Richard Biener <rguenther@suse.de> * config/i386/i386.c (print_reg): Fix typo. (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll. From-SVN: r257407
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/i386/i386.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f6ac7f4..8785b57 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-02-06 Richard Biener <rguenther@suse.de>
+
+ * config/i386/i386.c (print_reg): Fix typo.
+ (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll.
+
2018-02-06 Eric Botcazou <ebotcazou@adacore.com>
* configure: Regenerate.
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index b07f581..70b6775 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -17946,7 +17946,7 @@ print_reg (rtx x, int code, FILE *file)
F,f -- likewise, but for floating-point.
O -- if HAVE_AS_IX86_CMOV_SUN_SYNTAX, expand to "w.", "l." or "q.",
otherwise nothing
- R -- print embeded rounding and sae.
+ R -- print embedded rounding and sae.
r -- print only sae.
z -- print the opcode suffix for the size of the current operand.
Z -- likewise, with special suffixes for x87 instructions.
@@ -50560,7 +50560,7 @@ ix86_loop_unroll_adjust (unsigned nunroll, struct loop *loop)
free (bbs);
if (mem_count && mem_count <=32)
- return 32/mem_count;
+ return MIN (nunroll, 32 / mem_count);
return nunroll;
}