On Sun, 4 Oct 2015 07:21:42 -0700, glen herrmannsfeldt wrote:

>you could alternate between entries with the A first and last.
>
>It makes the table lookup code slightly more complicated, 

Yes, it does

>but allows
>for aligned A entries. 

with the intention, I suppose, of making the LOAD go faster. AFAIK, 
the only time that there is a penalty for misaligned operands is when 
crossing a cache line boundary. So you slow down the search by a 
little bit for each entry, to (maybe) gain a bit on the load. And you 
make the code harder to read.

-- 
Tom Marchant

Reply via email to