diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-02 17:36:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-09-13 19:09:44 +0200 |
commit | 0342454f8aa6fc55e515bad26425533e10b58085 (patch) | |
tree | edbc9f66676cbf5282fce5cae4542b472b3b74e1 /pc-bios/linuxboot_dma.bin | |
parent | 0cebabd5e8277864ef87b4526cb1c9b3f0c06ee7 (diff) | |
download | qemu-0342454f8aa6fc55e515bad26425533e10b58085.zip qemu-0342454f8aa6fc55e515bad26425533e10b58085.tar.gz qemu-0342454f8aa6fc55e515bad26425533e10b58085.tar.bz2 |
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 <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'pc-bios/linuxboot_dma.bin')
-rw-r--r-- | pc-bios/linuxboot_dma.bin | bin | 1536 -> 1536 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/pc-bios/linuxboot_dma.bin b/pc-bios/linuxboot_dma.bin Binary files differindex 238a195..218d3ab 100644 --- a/pc-bios/linuxboot_dma.bin +++ b/pc-bios/linuxboot_dma.bin |