[PATCH] D76181: [AVR] Add support for the -mdouble=x flag

2020-03-17 Thread Ayke via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rG4add24920550: [AVR] Add support for the -mdouble=x flag (authored by aykevl). Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76181/new/ https://reviews.llvm.

[PATCH] D76181: [AVR] Add support for the -mdouble=x flag

2020-03-15 Thread Ayke via Phabricator via cfe-commits
aykevl marked 3 inline comments as done. aykevl added a comment. In D76181#1923176 , @MaskRay wrote: > The GCC side commits can be found on > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92055 > So it seems that we will have both `-mlong-double-{64,80,12

[PATCH] D76181: [AVR] Add support for the -mdouble=x flag

2020-03-15 Thread Ayke via Phabricator via cfe-commits
aykevl updated this revision to Diff 250418. aykevl added a comment. Fixed nits. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D76181/new/ https://reviews.llvm.org/D76181 Files: clang/include/clang/Basic/LangOptions.def clang/include/clang/Driv

[PATCH] D76181: [AVR] Add support for the -mdouble=x flag

2020-03-14 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added a comment. The GCC side commits can be found on https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92055 So it seems that we will have both `-mlong-double-{64,80,128}` (80 is used by x86 fp80) and `-mlong-double={32,64}`... (I actually prefer `=` to `-`) Comment at: c

[PATCH] D76181: [AVR] Add support for the -mdouble=x flag

2020-03-14 Thread Ayke via Phabricator via cfe-commits
aykevl created this revision. aykevl added reviewers: dylanmckay, MaskRay, hfinkel, rnk, rsmith. Herald added subscribers: cfe-commits, Jim. Herald added a project: clang. This flag is used by avr-gcc (starting with v10) to set the width of the double type. The double type is by default interpret