Patchwork PR/41822 pdp11: fix wrong code for and operation

login
register
mail settings
Submitter Paul Koning
Date Oct. 29, 2010, 8:43 p.m.
Message ID <802D3AED-6C3F-4A27-A348-78DA6BB8A44A@dell.com>
Download mbox | patch
Permalink /patch/69630/
State New
Headers show

Comments

Paul Koning - Oct. 29, 2010, 8:43 p.m.
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>.

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"))