This is the mail archive of the gcc-help@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: Reg: Restricting optimization and CR register usage


"Segher Boessenkool" <segher@kernel.crashing.org> writes:

> Maybe you can force GCC to avoid CR4 by using -ffixed-reg=cr4 .

The option would be -ffixed-cr4.  Another possibility here might be
-fcall-used-cr4, assuming that the system call looks like a function
call rather than, say, an inline asm.

Ian


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