diff mbox

PR/41822 pdp11: fix wrong code for and operation

Message ID 802D3AED-6C3F-4A27-A348-78DA6BB8A44A@dell.com
State New
Headers show

Commit Message

Paul Koning Oct. 29, 2010, 8:43 p.m. UTC
On Oct 29, 2010, at 4:24 PM, Paolo Bonzini wrote:

> On 10/29/2010 09:48 PM, Paul Koning wrote:
>> +(define_insn "*and<mode>"
> 
> I strongly suggest calling this *bic<mode>.
> 
> Paolo

Done.

	paul

ChangeLog:

2010-10-29  Paul Koning  <ni1d@arrl.net>

	* config/pdp11/pdp11.md (*and<mode>): Rename to *bic<mode>.
diff mbox

Patch

Index: config/pdp11/pdp11.md
===================================================================
--- config/pdp11/pdp11.md	(revision 166075)
+++ config/pdp11/pdp11.md	(working copy)
@@ -840,7 +840,7 @@ 
     operands[1] = expand_unop (<MODE>mode, one_cmpl_optab, op1, 0, 1);
 }")
 
-(define_insn "*and<mode>"
+(define_insn "*bic<mode>"
   [(set (match_operand:PDPint 0 "general_operand" "=rR,rR,Q,Q")
 	(and:PDPint
 	     (not: PDPint (match_operand:PDPint 1 "general_operand" "rR,Qi,rR,Qi"))