Re: [Qemu-devel] [PATCH 4/4] multiboot: make tests work with clang

2017-10-13 Thread Thomas Huth
On 13.10.2017 01:54, Anatol Pomozov wrote: > * clang 3.8 enables SSE even for 32bit code. Generate code for pentium >CPU to make sure no new instructions are used. > * add memset() implementation. Clang implements array zeroing in >print_num() via memset() function call. > --- > tests/mu

[Qemu-devel] [PATCH 4/4] multiboot: make tests work with clang

2017-10-12 Thread Anatol Pomozov
* clang 3.8 enables SSE even for 32bit code. Generate code for pentium CPU to make sure no new instructions are used. * add memset() implementation. Clang implements array zeroing in print_num() via memset() function call. --- tests/multiboot/Makefile| 2 +- tests/multiboot/libc.c