This revision was automatically updated to reflect the committed changes.
Closed by commit rL304929: [mips] Add runtime options to enable/disable
madd.fmt and msub.fmt (authored by petarj).
Changed prior to commit:
https://reviews.llvm.org/D33401?vs=101562&id=101767#toc
Repository:
rL LLVM
smaksimovic updated this revision to Diff 101562.
smaksimovic added a comment.
Provided define checks, one when the target feature is present, other when the
feature isn't provided at all (default).
https://reviews.llvm.org/D33401
Files:
include/clang/Driver/Options.td
lib/Basic/Targets.c
sdardis accepted this revision.
sdardis added a comment.
This revision is now accepted and ready to land.
The new define also requires a test in test/Preprocessor/init.c - test that by
default the new define isn't present, and in some case, when supplied with the
-mno-madd4 that it is present.
smaksimovic updated this revision to Diff 101010.
smaksimovic added a comment.
Changed feature name from madd4 to nomadd4 to reflect the change from the
dependency.
Added macro definition when +nomadd4 is present.
https://reviews.llvm.org/D33401
Files:
include/clang/Driver/Options.td
lib/B
sdardis requested changes to this revision.
sdardis added a comment.
This revision now requires changes to proceed.
This also requires that __mips_no_madd4 is defined when the -mnomadd4 option is
in use.
https://reviews.llvm.org/D33401
___
cfe-comm
smaksimovic created this revision.
Herald added a subscriber: arichardson.
Added options to clang are -mmadd4 and -mno-madd4, used to enable or disable
generation
of madd.fmt and similar instructions respectively, as per GCC.
https://reviews.llvm.org/D33401
Files:
include/clang/Driver/Option