
3 Jul
2006
3 Jul
'06
5:47 p.m.
Hi Tom, On 7/3/06, Tomas Puverle <Tomas.Puverle@morganstanley.com> wrote:
inline long compare_exchange(long* v, const long c, const long n) { [snip intrinsics code]
I also have these intrinsics for the Sunpro compiler. The only problem is that with Sunpro, these have to come in a separate .il file, which has to be included on the compile line at the same time as the .cpp being compiled.
Could you send the sunpro versions to me (or the list) please? I'll see what I can do about getting them into asm() blocks in the morning. For those not familiar with sunpro asm() blocks, they're a nightmare, and are completely defeated by inlining, but I think I have a workaround... Michael