public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Anybody Know x86 Assembler?
  @ 2007-02-03 19:51 99% ` Pierre-Yves Rofes
  0 siblings, 0 replies; 1+ results
From: Pierre-Yves Rofes @ 2007-02-03 19:51 UTC (permalink / raw
  To: gentoo-user

Neil Hodges a écrit :
> Hello,
>
> Does anybody know x86 assember?  The following code is in a kernel
> source file, and GCC fails to build it, saying "invalid operands to
> 'mov'".  What's wrong with it?
>
> - Neil
>
> Code:
>
> asm volatile ("movl %%fs,%0":"=m" (*(int *) &m.fs)); 
> asm volatile ("movl %%gs,%0":"=m" (*(int *) &m.gs));
>
>   
Could you post the content of the m data structure, including
its type?

-- 
Pierre-Yves Rofes
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2007-01-27  6:29     [gentoo-user] Anybody Know x86 Assembler? Neil Hodges
2007-02-03 19:51 99% ` Pierre-Yves Rofes

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox