bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/20641] powerpc: Should not allow three-operand cmp[l][i]


From: amodra at gmail dot com
Subject: [Bug gas/20641] powerpc: Should not allow three-operand cmp[l][i]
Date: Tue, 27 Sep 2016 22:31:58 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=20641

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                 CC|                            |amodra at gmail dot com
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
These are the insns that currently use the L field (or an alias).

 {"cmpli",   {BF, L, RA, UISIGNOPT}},
 {"cmpi",    {BF, L, RA, SI}},
 {"cmp",     {BF, L, RA, RB}},
 {"cmpl",    {BF, L, RA, RB}},
 {"dcbf",    {RA0, RB, L}},
 {"mtsle",   {L}},
 {"cmprb",   {BF, L, RA, RB}},
 {"tlbiel",  {RB, L}},
 {"tlbie",   {RB, L}},
 {"tbegin.", {HTM_R}},
 {"tsr.",    {L}},
 {"wclrall", {L}},
 {"wclr",    {L, RA0, RB}},

I'm inclined to say L should be optional when generating ppc32 code, for cmp*
and tlbie.  Not optional everywhere else.  What do you think?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]