[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH 1/1] tci: eliminate UB due to unaligned reads
From: |
Richard Henderson |
Subject: |
Re: [Qemu-trivial] [PATCH 1/1] tci: eliminate UB due to unaligned reads |
Date: |
Mon, 12 Mar 2018 15:45:09 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
On 03/03/2018 05:41 PM, Stefan Weil wrote:
> Richard, the discussion about non-portable calls to helper functions is
> not new, but I still have no test case which fails. Do you think of a
> special case (architecture, helper function)?
The two that come to mind immediately are:
i386 with a compiler defaulting to stdcall (which I admit is unlikely; it also
would not work for TCG without modification).
m68k (pointers passed in address registers; integrals passed in data registers).
r~