dumping the reservation
dumping the reservation
- Subject: dumping the reservation
- From: Shaun Wexler <email@hidden>
- Date: Wed, 13 Sep 2006 18:40:58 -0700
Is there a definitive spec for what to do about dumping the ldarx/
lwarx reservation on G5 vs G3/G4? I've seen code written four
different ways: [1] my default which was to always dump it to -8(SP)
regardless of CPU type, [2] dump it on G5 only, [3] store the same
data back to the same address, or [4] leave it pending (ignore
without storing) and continue.
Now that I've rewritten all my asm with __LP64__ versions, I'm
tempted to leave the ILP32 version optimized for G4 but want to know
what type of pipeline flush or whatever I'd be causing on the G5 in
doing so. Note that I have mainly G4-UP and an increasing number of
i386-MP users, so G3/G5-UP,MP/i386-UP aren't as much of a concern in
this case.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden