This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: RTL AND Instruction
- From: Matt Davis <mattdavis9 at gmail dot com>
- To: James Courtier-Dutton <james dot dutton at gmail dot com>
- Cc: gcc at gnu dot org
- Date: Sun, 29 Jan 2012 23:53:55 +1100
- Subject: Re: RTL AND Instruction
- References: <20120122052112.GA8463@excelsa.wimax> <CAAMvbhHUEKp_kvJZDkn_sEzy15ZMw4DNvyPKBq2Kkspum2t85g@mail.gmail.com>
On Sun, Jan 29, 2012 at 8:21 PM, James Courtier-Dutton
<james.dutton@gmail.com> wrote:
>
> On Jan 22, 2012 5:21 AM, "Matt Davis" <mattdavis9@gmail.com> wrote:
>> ÂEssentially, I just want to emit: Â"and %eax, $0x7"
>>
> Assuming at&t format, does that instruction actually exist?
> How can you store the result in the constant number 7?
> Did you instead mean
> and $0x7, %eax
Yes, I have it working. Much thanks to everyone :-)
-Matt