Re: [Qemu-devel] [PATCH 0/1] Fix unaligned reads in the tcg/tci.c

2018-02-05 Thread Anatoly Trosinenko
Ping. Patchwork link: http://patchwork.ozlabs.org/patch/866732/ Patchew link: http://patchew.org/QEMU/20180127134908.24095-1-anatoly.trosine...@gmail.com/ (Initially forgot to add Richard Henderson to CC.) 2018-01-27 16:49 GMT+03:00 Anatoly Trosinenko : > The code in tcg/tci.c reads some data f

[Qemu-devel] [PATCH 0/1] Fix unaligned reads in the tcg/tci.c

2018-01-27 Thread Anatoly Trosinenko
The code in tcg/tci.c reads some data from TCI bytecode through pointer dereferencing. As far as I know unaligned reads in such a way are undefined behavior and compiling with -fsanitize=undefined enumerated them as such at run-time. I have replaced such reads with invocations of ld{l,q}_he_p. A c