CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2019/02/18 12:42:23

Modified files:
        gnu/llvm/lib/Target/PowerPC: PPCISelLowering.cpp PPCSubtarget.h 

Log message:
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@

Reply via email to