diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2014-01-18 02:49:56 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2014-01-17 18:49:56 -0800 |
commit | 1e99bee598858cf783e585f48bda3dfc7702b4c9 (patch) | |
tree | 66455067fa125606b3b4798d2fc6672406e68f4b | |
parent | fa7d0c609dff310247284cf531c4b94c6d234e69 (diff) | |
download | gcc-1e99bee598858cf783e585f48bda3dfc7702b4c9.zip gcc-1e99bee598858cf783e585f48bda3dfc7702b4c9.tar.gz gcc-1e99bee598858cf783e585f48bda3dfc7702b4c9.tar.bz2 |
Fix a comment typo in ix86_split_lea_for_addr
* config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment
typo.
From-SVN: r206745
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e2e18f..01ba1fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-17 H.J. Lu <hongjiu.lu@intel.com> + + * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment + typo. + 2014-01-17 John David Anglin <danglin@gcc.gnu.org> * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 7bfad8f..aeae46d 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -18309,7 +18309,7 @@ ix86_split_lea_for_addr (rtx insn, rtx operands[], enum machine_mode mode) /* Case r1 = r1 + ... */ if (regno1 == regno0) { - /* If we have a case r1 = r1 + C * r1 then we + /* If we have a case r1 = r1 + C * r2 then we should use multiplication which is very expensive. Assume cost model is wrong if we have such case here. */ |