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

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

 



> Note that you're going to need to tell gcc that you're clobbering %rax,
> as described in the extended asm documentation.

ok so I added
: : "rax"

> Use %%rax.

ok but...

now

jpeg_color_mmx.cpp: In function ?void jpeg_yh2v2_to_rgb32_mmx(unsigned char*, long int, unsigned char*)?:
jpeg_color_mmx.cpp:474: error: can't find a register in class ?AREG? while reloading ?asm?
jpeg_color_mmx.cpp:474: error: ?asm? operand has impossible constraints

so it seems that there is not enought register for this operation. I am right ?

must I use another register or do a push rax ... pop rax to solve this problem


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