> > This is also done by gen_load_store_alignment.
> > Does it really worth copying part of this logic to do_unaligned_access just 
> > to use ALIGNED_ONLY framework?
> 
> Yes, because it is done out-of-line, as a part of the TLB load slow path.

I probably just don't get what you call 'out-of-line'. In fact 
do_unaligned_access will be called for every unaligned access, and alignment 
condition will be checked for every access. It just happens in other place.
Does it have more chances to be optimized better than TCG code, or is it less 
TCG code itself that makes difference?

Thanks.
-- Max

Reply via email to