[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/1] tci: eliminate UB due to unaligned reads
From: |
Stefan Weil |
Subject: |
Re: [Qemu-devel] [PATCH 1/1] tci: eliminate UB due to unaligned reads |
Date: |
Sat, 3 Mar 2018 16:41:46 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
Am 03.03.2018 um 15:07 schrieb Anatoly Trosinenko:
> Can rewriting TCI in such a way that every operation is aligned at 4- or
> even 8-byte boundary fix the situation or are there some more serious
> problems?
That's my preferred solution. Are there cases which would require 8-byte
alignment?
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)?
Stefan