RE : RE : problem of non-pic code due to asm code.

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

 



> Ah, I see.  You need to rewrite references to global variables to go
> through a register.

> movl    _128mm@GOTPCREL(%rip),%rax
> psubw     mm2,(%rax)

> The easiest way to see the right code to generate is to write C code
> which accesses a global variable in the same way, compile it with the -S
> option, and look at the resulting assembly code.

Ok I will try this and see what append.

Is there a better way with gcc to produce mmx code than writting directly asm code ?

thanks

Frederic


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux