On 09/25/2013 01:20 PM, Nathan Froyd wrote: > While the generic SSE translation codepath contains special logic to use > 32-bit or 64-bit memory operands for some instructions, this logic doesn't > catch the SSE {,u}comis{s,d} instructions. This oversight leads to too > many bytes being read when those instructions use memory operands, which > can in turn lead to page faults. > > The fix is simple: add a special case for these instructions. It did not > fit cleanly into the existing case, so some cut-and-paste was necesary. > > Signed-off-by: Nathan Froyd <froy...@mozilla.com> > --- > target-i386/translate.c | 10 ++++++++++ > 1 file changed, 10 insertions(+)
Reviewed-by: Richard Henderson <r...@twiddle.net> r~