This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/iamcu/improve
in repository gcc.
commit 489ea5c50607a59f5cec57b765f1a4fd4df662d1
Author: H.J. Lu <hjl.tools(a)gmail.com>
Date: Wed Jul 8 19:46:43 2015 -0700
IA MCU run-time doesn't support TLS
Return 0 in check_effective_target_tls_native and
check_effective_target_tls_emulated for IA MCU target.
---
gcc/testsuite/lib/target-supports.exp | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gcc/testsuite/lib/target-supports.exp b/gcc/testsuite/lib/ta [...]
index 1988301..c97fa08 100644
--- a/gcc/testsuite/lib/target-supports.exp
+++ b/gcc/testsuite/lib/target-supports.exp
@@ -701,8 +701,9 @@ proc check_effective_target_tls {} {
proc check_effective_target_tls_native {} {
# VxWorks uses emulated TLS machinery, but with non-standard helper
- # functions, so we fail to automatically detect it.
- if { [istarget *-*-vxworks*] } {
+ # functions, so we fail to automatically detect it. IA MCU run-time
+ # doesn't support TLS.
+ if { [istarget *-*-vxworks*] || [istarget *-*-elfiamcu] } {
return 0
}
@@ -716,6 +717,11 @@ proc check_effective_target_tls_native {} {
# Return 1 if *emulated* thread local storage (TLS) is supported, 0 otherwise.
proc check_effective_target_tls_emulated {} {
+ # IA MCU run-time doesn't support TLS.
+ if { [istarget *-*-elfiamcu] } {
+ return 0
+ }
+
# VxWorks uses emulated TLS machinery, but with non-standard helper
# functions, so we fail to automatically detect it.
if { [istarget *-*-vxworks*] } {
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
This is an automated email from the git hooks/post-receive script.
unknown user pushed a commit to branch hjl/iamcu/improve
in repository gcc.
commit fceb8950b4dfc775fcf46d4eecf7b9884ef67cbf
Author: H.J. Lu <hjl.tools(a)gmail.com>
Date: Thu Jul 9 18:42:45 2015 -0700
Turn off X86_TUNE_ZERO_EXTEND_WITH_AND for IA MCU
---
gcc/config/i386/x86-tune.def | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/config/i386/x86-tune.def b/gcc/config/i386/x86-tune.def
index 42a560b..eb271b8 100644
--- a/gcc/config/i386/x86-tune.def
+++ b/gcc/config/i386/x86-tune.def
@@ -448,7 +448,7 @@ DEF_TUNE (X86_TUNE_SHIFT1, "shift1", ~m_486)
/* X86_TUNE_ZERO_EXTEND_WITH_AND: Use AND instruction instead
of mozbl/movwl. */
DEF_TUNE (X86_TUNE_ZERO_EXTEND_WITH_AND, "zero_extend_with_and",
- m_486 | m_PENT | m_IAMCU)
+ m_486 | m_PENT)
/* X86_TUNE_PROMOTE_HIMODE_IMUL: Modern CPUs have same latency for HImode
and SImode multiply, but 386 and 486 do HImode multiply faster. */
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.