Patchwork Add missing sparc shift zero extensions, and fix shift attributes.

login
register
mail settings
Submitter David Miller
Date Oct. 3, 2011, 12:53 a.m.
Message ID <20111002.205317.1132330190127106706.davem@davemloft.net>
Download mbox | patch
Permalink /patch/117384/
State New
Headers show

Comments

David Miller - Oct. 3, 2011, 12:53 a.m.
From: David Miller <davem@davemloft.net>
Date: Sun, 02 Oct 2011 20:50:22 -0400 (EDT)

> 	* config/sparc/sparc.md (ashlsi3, *ashldi3_sp64): Remove
> 	conditional insn type setting, we always emit a shift.
> 	(*ashlsi3_extend, *lshrsi3_extend0): New patterns.
> 	(*lshrsi3_extend): Rename to *lshrsi3_extend1.

Right after posting this I noticed that I left out the predicates.md
change from the ChangeLog, which I've fixed up as follows:

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179442 138bc75d-0d04-0410-961f-82ee72b054a4
---
 gcc/ChangeLog |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Patch

diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index fbc0b20..b4fab73 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5,6 +5,7 @@ 
 	conditional insn type setting, we always emit a shift.
 	(*ashlsi3_extend, *lshrsi3_extend0): New patterns.
 	(*lshrsi3_extend): Rename to *lshrsi3_extend1.
+	* config/sparc/predicates.md (const_one_operand): Delete.
 
 2011-10-02  Gerald Pfeifer  <gerald@pfeifer.com>