|
From: Julian S. <js...@ac...> - 2005-09-06 11:06:45
|
> lswx and stswx are rearing their ugly heads again. I have two > solutions coded up, but neither is great. > > 1. Abuse Mux0X by performing 128 1-byte memory ops from either > the right place in memory or a scratch location. lswx generates > about 1800 instructions, and 1400 for stswx. I figured out in principle how to do this so that it (1) only references memory it should and (2) is correctly instrumentable by memcheck. Getting sane performance out of it will involve adding a bit more magic to the IR optimiser, though. Can you show me the insns in context? In particular it would be useful to know how XER is set up prior to the insns. J |