This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RTL AND Instruction


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]