This is the mail archive of the gcc-bugs@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]

Re: Inline asm - adding opcode for unsupported instruction "pause"?


On Apr 19, 2001, Timur Tabi <ttabi@interactivesi.com> wrote:

> The Pentium IV adds a new instruction "pause" with an opcode of F3 90. 
> My version of gcc doesn't support it.

You mean your version of the *assembler* doesn't, right?  Because
there's no reason why GCC would generate such an instruction by
itself.

> I would like to simply imbed the bytes F3 90.  How do I do that?

asm (".byte ....");

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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