From c98c8be0504d913ea53ecd117744762578538c72 Mon Sep 17 00:00:00 2001 From: rguenth Date: Tue, 6 Feb 2018 09:26:48 +0000 Subject: [PATCH] 2018-02-06 Richard Biener * config/i386/i386.c (print_reg): Fix typo. (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@257407 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f6ac7f4aefd..8785b579603 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-02-06 Richard Biener + + * config/i386/i386.c (print_reg): Fix typo. + (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll. + 2018-02-06 Eric Botcazou * configure: Regenerate. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index b07f581cd65..70b6775c4a1 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; } -- 2.11.4.GIT