[PATCH] D49754: Add -m(no-)spe, and e500 CPU definitions and support to clang

Justin Hibbits via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Aug 10 08:28:56 PDT 2018


jhibbits added a comment.

Hi Vit,

Thanks for the feedback.  I can add the -mspe=yes/no, that shouldn't be hard.  I didn't include it because it's been deprecated by GCC already as well.  I can add the -mcpu=8548 option as well.  I use -mcpu=8540 on FreeBSD for the powerpcspe target anyway (GCC based).

Regarding the stack overwriting, that's very peculiar, because I explicitly mark the immediate as needing to be an 8-bit multiple-of-8 value, so the codegen logic should take that into account.  I'm surprised it's not.  I've reproduced it as well myself, so I can take a closer look.


Repository:
  rC Clang

https://reviews.llvm.org/D49754





More information about the cfe-commits mailing list