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: How can I tell the compiler to not store excessively?


Mike Sharov <msharov@talentg.com> writes:

> I am trying to write several inline assembly functions to facilitate
> use of MMX instructions and I would like for them to be concatenated
> without transfer in and out of registers between calls if the data is
> already loaded in a register.

I'd recommend you use try the macros from <mmintrin.h> like _m_paddb.
If they don't produce proper code, please file a bug report.

-- 
	Falk


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