OpenBSD/src ZYEqZQs — gnu/llvm/lib/Target/PowerPC PPCISelLowering.cpp PPCSubtarget.h
When generating code for OpenBSD/powerpc, avoid unaligned floating-point load and store instructions. The vast majority of PowerPC CPUs that OpenBSD runs on don't implement those and will generate an alignment exceptions. While we do emulate lfd and stfd (to work around GCC bugs), we don't emulate lfs and stfs. It is way more efficient to have the compiler generate code that only uses aligned load and store instructions. Based on a diff from Georg Koehler. ok patrick@, visa@
Version | Delta | File | |
---|---|---|---|
1.2 | +3,913 | -1,327 | gnu/llvm/lib/Target/PowerPC/PPCISelLowering.cpp |
1.2 | +48 | -11 | gnu/llvm/lib/Target/PowerPC/PPCSubtarget.h |
+3,961 | -1,338 | 2 files |