History log of /frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4e39604f2b7b1371cc0b0da4bf682616143e5bd6 01-Apr-2016 Miao Wang <miaowang@google.com> Add __HOST__ check for bcc-compat

Bug: 27952962

- For x86_64, setCPU("core2") for bcc-compat.

Change-Id: I5322543deffb121b9231b14cd77c5143fdcd5bec
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
ae3184b98e2ff4a786979423e59b5c0ae6c16bd5 24-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Enable +fp16 feature for ARM code generation on AArch64 device

Bug: http://b/27512382

On AArch64, 'asimd' feature in /proc/cpuinfo signals the presence of
hardware half-precision conversion instructions. 'asimd' in this
feature list is parsed and translated to the "neon" feature in LLVM's
getHostCPUFeatures. Enable the "+fp16" feature if "neon" is in the
feature list, to signal the ARM backend that hardware fp16 support is
present.

Change-Id: If6a7db8f39b044fe262ac6953ab41535184973e4
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
8e9089377848628813a697b972773e969b942c3b 07-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229

http://b/26987366

(cherry picked from commit f229c40f0d2da19985e68955aef1a06ce4121e63)

Change-Id: I3d89bb15d0c3e7d64f74656365ed1d472e7de4c7
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
3c05a9cabc73640febb331e3df1d8f2e565c9e30 11-Nov-2015 Luke Drummond <luke.drummond@codeplay.com> Fix code-generation on x86 targets

- bcc code generation on x86 devices was generating invalid code in
unoptimized builds due to missing CPU detection in ``bcc::CompilerConfig``
- CPU type and code models properly belongs in compilerConfig.
- CompilerConfig: existing feature strings were being overwritten
instead of appending to existing configured CPU feature config list:

```cpp
if (HasF16C())
mFeatureString = "+f16c";
```

- Moved hardcoded compile-time SSE3/4.1/4.2 features in
bcc/tools/Main.cpp. These checks (if any) belong in
`bcc::CompilerConfig`.
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
d8563169c10620e696106542e517f9fbd65984d2 20-Jul-2015 Yong Chen <yong.a.chen@intel.com> Avoid cpu mismatch to ARM during cross compiling

Change-Id: I80ebcdbd433e5bbbcf9c9d3a7bda6743037c0aad
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
81f3dd38a551ae31716e9f5f7e73d7b8e7eed5b7 02-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Merge "Remove use of llvm::TargetOptions::NoFramePointerElim"
887fc99c435df92c4dcba8790431628b5e875657 30-Jun-2015 Pirama Arumuga Nainar <pirama@google.com> Remove use of llvm::TargetOptions::NoFramePointerElim

Bug: 22210139

This flag is removed from upstream. Removing its use will enable frame
pointer elimination by default. After the rebase, we need to add back
the ability to disable frame pointer elimination (b/22210139).

Commit c0554e25638bec2462daf1a66ed0270a60aec8ea disables frame pointer
elimination for x86 and x86_64. The reason behind this seems to be
lost. Removing the flag implicitly enables this optimization for x86
and doesn't cause any CTS failures on AOSP.

Change-Id: Ia051651adc132583bb6703513dd3eb5ec0b200d9
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
86e5c863d609de41b03033fd7e81ca41dbb181c8 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Soft-float cleanup

- UseSoftFloat target option is removed from upstream. Remove its use
and update the comment on how to skip FPU and use software
floating-point.
- Cleanup comment and remove a stale TODO about auto-detecting the
presence of hardware FPU. It is unlikely that any processor doesn't
have an FPU these days.

Change-Id: Ib0c0efc7e9dbd3a525aa714c8771247e2d96f9f2
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
70e3dcff9f0450b13f8ccb8db3fba76653993e35 07-Apr-2015 Pirama Arumuga Nainar <pirama@google.com> bcc changes for fp16

Bug: 7342860

Add fp16-specific attributes ("fp16" for ARM and "f16c" for x86) to the
compiler feature string. The attribute is not added on host versions of
the tools.

Change-Id: I7f0783d7228dccc5828c8d5900fceeec04b5a7c2
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
166b8d08b66d7feb8262b31bc65fb297070b4700 08-May-2015 Yong Chen <yong.a.chen@intel.com> X86_64: Set small CodeModel if use PIC_ relocation

Change-Id: Idf0be1ae1d3ed1d0505cdeaac8023b4c7e1ccb85
Signed-off-by: Yong Chen <yong.a.chen@intel.com>
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
4d93866172cdeeda20c78faade9b934f75f2033e 14-Nov-2014 Stephen Hines <srhines@google.com> Merge "[MIPS] Set default MIPS64 ISA revision to R6"
4171e69c678ee2590f1b8670d5be85e24ab1f635 17-Oct-2014 Petar Jovanovic <petar.jovanovic@imgtec.com> [MIPS] Set default MIPS64 ISA revision to R6

MIPS64 Android defaults to MIPS64R6, so set the CPU for it.

Change-Id: I0d286382de7ddd26a976d02bcd1a0dc0cc6fd0a7
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
8cb6cc6baed0e2739b1dc23a62626484594b3069 22-Aug-2014 Stephen Hines <srhines@google.com> am ea6b1c5a: Merge "Replace NULL macros with nullptr literals."

* commit 'ea6b1c5af978698f266f352c8a6f00ec3677e7e5':
Replace NULL macros with nullptr literals.
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
d94735a5d8afcc1d8d44282cd1489efdf2dc9d88 13-Aug-2014 Stephen Hines <srhines@google.com> am 0fff908e: Merge "Enable MIPS64 triples"

* commit '0fff908e90f8a063ed513aa0224366ae1b425cf9':
Enable MIPS64 triples
8d254fd40df498a21ca540cb355ee8c6a9250ac0 15-Jul-2014 Tim Murray <timmurray@google.com> Add override to force the CPU variant.

Change-Id: I5bed6d1c064c0e48b370acd3e9d3c2a5e39ffea4
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
55e11789bded7217aea270d5c60c0cf32b2a70c2 10-Jul-2014 Petar Jovanovic <petar.jovanovic@imgtec.com> Enable MIPS64 triples

Enable mips64 triples if PROVIDE_MIPS64_CODEGEN is defined, and apart
from acknowledging it, do nothing for the time being.

Change-Id: I46128e5698888bf327a32c08107cf23868b6c0b3
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
a16a9161fd71ea0316bbb741df2da6f433d68b20 30-May-2014 Stephen Hines <srhines@google.com> Only force MIPS to static relocation if they were using the default.

Change-Id: Iddb83158f8862087cccea97e3ebcec980b8f044a
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
060bd2d6771e781ddbf5424c50af149fd0d80432 20-May-2014 Stephen Hines <srhines@google.com> Fix missing include of Config.h.

Without this include, we actually fail to configure a non-default
target backend. This results in the ARM target never selecting
NEON code (even when it is possible to use it).

Change-Id: I8891461709ac6a8d174afc5c1def5648b83e6226
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
bde1a2599780d6eaebbc284976ceb690492f6abd 16-May-2014 Stephen Hines <srhines@google.com> Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.

Change-Id: Id4a5be7b2b4627bfa7ef6279eb3b5b8e75915a7d
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
ef73a242762bcd8113b9b65ceccbe7d909b5acbc 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine DebugHelper.h into Log.h.

This removes USE_FUNC_LOGGER from libbcc-config.mk.

Change-Id: Ia496d41388135706a501bd362075f53d1c0eb6aa
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
c72c4ddfcd79c74f70713da91a69569451b5c19e 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Make libbcc public.

This commit is not expected to change any functionality.

Change-Id: I364e8bad32d946281b78b1ce36a1b26bf60e3055
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
2f6a493aea1b6e5ad318a759fedb58713a5a374c 03-May-2012 Stephen Hines <srhines@google.com> Revert "Make libbcc public."

This reverts commit 80232dd16c0affb2afae01cde6c94abf23ac1ba8.
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
5b948190e3b311d06526addbb8f0e77a76da2467 03-May-2012 Stephen Hines <srhines@google.com> Revert "Refine DebugHelper.h into Log.h."

This reverts commit b519fe3f1d780873608f41d69316054e05c7e918.
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
b519fe3f1d780873608f41d69316054e05c7e918 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Refine DebugHelper.h into Log.h.

This removes USE_FUNC_LOGGER from libbcc-config.mk.
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp
80232dd16c0affb2afae01cde6c94abf23ac1ba8 12-Apr-2012 Zonr Chang <zonr.net@gmail.com> Make libbcc public.

This commit is not expected to change any functionality.
/frameworks/compile/libbcc/lib/Support/CompilerConfig.cpp