From 0e60956587f276f782d046daec7e3b5cd8f754d4 Mon Sep 17 00:00:00 2001 From: Richard Biener Date: Tue, 6 Feb 2018 09:26:48 +0000 Subject: [PATCH] i386.c (print_reg): Fix typo. 2018-02-06 Richard Biener * config/i386/i386.c (print_reg): Fix typo. (ix86_loop_unroll_adjust): Do not unroll beyond the original nunroll. From-SVN: r257407 --- 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.30.2