From 0342454f8aa6fc55e515bad26425533e10b58085 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Fri, 2 Sep 2016 17:36:23 +0200 Subject: optionrom: do not rely on compiler's bswap optimization Recent compilers can detect and inline manually-written bswap code, but GCC 4.2.1 (the last GPLv2 version) cannot and generates really awful code. Depending on how the compiler is configured, it might also not want to generate bswap because it was not in i386. Using asm is fine because TCG knows about bswap and all processors with virtualization extensions also do. Reported-by: Peter Maydell Signed-off-by: Paolo Bonzini --- pc-bios/linuxboot_dma.bin | Bin 1536 -> 1536 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'pc-bios/linuxboot_dma.bin') diff --git a/pc-bios/linuxboot_dma.bin b/pc-bios/linuxboot_dma.bin index 238a195d38..218d3ab4a2 100644 Binary files a/pc-bios/linuxboot_dma.bin and b/pc-bios/linuxboot_dma.bin differ -- cgit v1.2.3