Re: [PATCH] Fix improper combiner optimization of mixed mode vector/scalar expressions (PR 79365)

2017-02-04 Thread Walter Lee
Thanks Segher.  I will address your comments and repost for GCC 8. > What is this for?  It isn't triggered by the testcase in the PR. It was triggered by our strcmp code, but I didn't have a simple test case for it.  I will try to generate one. Walter

Re: [PATCH] Fix improper combiner optimization of mixed mode vector/scalar expressions (PR 79365)

2017-02-03 Thread Walter Lee
On 2/3/2017 3:03 PM, Walter Lee wrote: Hi, In looking at PR 79365 I found that the problem is actually in the combiner. The combiner sometimes applies scalar optimizations to vector context where they are invalid. i.e. (a > b) >> 1 can optimize to 0 if ">" is a scalar

[PATCH] Fix improper combiner optimization of mixed mode vector/scalar expressions (PR 79365)

2017-02-03 Thread Walter Lee
Hi, In looking at PR 79365 I found that the problem is actually in the combiner. The combiner sometimes applies scalar optimizations to vector context where they are invalid. i.e. (a > b) >> 1 can optimize to 0 if ">" is a scalar op but not if it is a vector op. The reason this shows up on til

[PATCH, committed] TILEPro/TILE-Gx: add blockage to avoid bad scheduler + dwarf interaction (PR target/78862)

2017-02-03 Thread Walter Lee
This patch fixes PR target/78862. Add blockage to prevent the scheduler from reordering a LR save with a subsequent instruction that changes the CFA register. This trips up the dwarf generating logic. Bootstrapped and tested on TILEPro/TILE-Gx hardware, also backported to GCC 6. * config/tileg

[PATCH, committed] TILEPro/TILE-Gx: add trap patterns

2016-11-22 Thread Walter Lee
--git a/gcc/ChangeLog b/gcc/ChangeLog index 8e2bbdf..259eb02 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2016-11-22 Walter Lee + * config/tilegx/tilegx.md (trap): New pattern. + * config/tilepro/tilepro.md (trap): Likewise. + +2016-11-22 Walter Lee

[PATCH, committed] TILE-Gx: fix zero_extract/sign_extract patterns

2016-11-22 Thread Walter Lee
This patch fixes the zero_extract/sign_extract patterns so that they properly handle the case when pos + size > number of bits in a word. Bootstrapped and tested on TILE-Gx hardware, also backported to GCC 6. * config/tilegx/tilegx.md (*zero_extract): Use define_insn_and_split ins

[PATCH, committed] TILEPro: link against libgcc.a when creating shared libraries

2016-11-19 Thread Walter Lee
This patch forces gcc to link against libgcc.a when creating shared libraries, needed for 64-bit multiplies. Bootstrapped and tested on tilepro hardware, also backported to GCC 6. 2016-11-18 Walter Lee * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc. diff --git a/libgcc

[PATCH, committed] TILEPro: link against libgcc.a when creating shared libraries

2016-11-18 Thread Walter Lee
This patch forces gcc to link against libgcc.a when creating shared libraries, needed for 64-bit multiplies. Bootstrapped and tested on tilepro hardware, also backported to GCC 6. 2016-11-18 Walter Lee * config.host (tilepro*-*-linux*): Add t-slibgcc-libgcc. diff --git a/libgcc

[PATCH, committed] TILE-Gx: fix barrier bundling

2016-11-18 Thread Walter Lee
This patch fixes a bundling bug. When there are consecutive barriers, the end-of-bundle marker of the last barrier is getting dropped. Bootstrapped and tested on tilegx hardware, also backported to GCC 6. 2016-11-18 Walter Lee * config/tilegx/tilegx.c (tilegx_gen_bundles): Preserve

[PATCH, committed] TILE-Gx: fix clzsi2 for big-endian

2016-11-18 Thread Walter Lee
This patch fixes the clzsi2 pattern, which was broken for big-endian. Bootstrapped and tested on tilegx hardware, also backported to GCC 6. 2016-11-18 Walter Lee * config/tilegx/tilegx.md (clzsi2): Fix for big-endian. --- a/gcc/config/tilegx/tilegx.md +++ b/gcc/config/tilegx

[PATCH, committed] TILEPro/TILE-Gx: remove linux header dependencies

2016-06-28 Thread Walter Lee
This patch removes the build dependencies on linux headers, by defining a few definitions that we need from those headers. libgcc/ChangeLog: 2016-06-28 Walter Lee * config/tilepro/atomic.h: Do not include arch/spr_def.h and asm/unistd.h. (SPR_CMPEXCH_VALUE): Define for tilegx

[PATCH, committed] TILE-Gx: Use CXX_FOR_BUILD to compile c++ source.

2016-02-12 Thread Walter Lee
This patch uses g++ instead of gcc to compile a c++ source file. The GNU buildbot is currently failing with a c++ related link error that I have not been able to reproduce; I'm hoping using g++ will fix the issue. 2016-02-12 Walter Lee * config/tilepro/t-tilepro: Re

[PATCH, committed] TILE-Gx: Fix softfp build error.

2016-02-12 Thread Walter Lee
This patch removes ti from softfp_int_modes for 32-bit config, to fix a compile-time assert failure. 2016-02-12 Walter Lee * config.host (tilegx*-*-linux*): remove ti from softfp_int_modes for 32-bit configs. Index: libgcc/config.host

Re: [PATCH] Fix tilegx libgcc with multilib

2016-02-12 Thread Walter Lee
Hi Bernd. Thanks for looking into that. Your patch looks good and I have checked it in myself. Walter On 1/1/2016 4:31 PM, Bernd Edlinger wrote: Hi Walter, while playing with the tilegx cross compiler I noticed another defect. Currently building a tilegx cross compiler fails in libgcc mul

Re: [PATCH] Fix pr68917 ICE on __builtin_clz for tilegx

2015-12-31 Thread Walter Lee
On 12/27/2015 2:38 PM, Bernd Edlinger wrote: > Hi, > > due to more thorough checks in the middle end the builtin clz instruction > causes now an ICE on the tilegx target. > > I have built a tilegx-cross-comiler and inspected the generated code > to verify that the patch works. > > Is is OK for trun

Re: [patch] Fix tilepro includes

2014-12-08 Thread Walter Lee
On 12/8/2014 11:23 AM, Jan-Benedict Glaw wrote: > On Fri, 2014-11-21 08:45:11 -0500, Andrew MacLeod wrote: >> During the flattening of optabs.h, I updated all the config/* files >> which were affected. I've been getting spurious failures with >> config-list.mk where my changes would "disappear"

[PATCH] TILE-Gx: add release note on tilegx big endian support in wwwdocs

2014-01-30 Thread Walter Lee
Here is a release note item for big endian support on tilegx. Ok to commit once that change is approved? --- gcc-4.9/changes.html28 Jan 2014 23:57:49 - 1.54 +++ gcc-4.9/changes.html30 Jan 2014 20:46:32 - @@ -494,6 +494,12 @@ auto incr = [](auto x) { return x++; };

[PATCH] TILE-Gx: big endian support

2014-01-30 Thread Walter Lee
This patch adds support for big endian on tilegx. It's been tested on tilegx hardware. Most of the changes are of course in target-specific files, but I have to touch a few shared files to support the big endian triplets. I've split up the changes to shared/non-shared files. Can someone approve

[committed] TILEPro/TILE-Gx: fix atomic.c for big endian.

2014-01-25 Thread Walter Lee
This patch fixes atomic.c for big endian configurations. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 56c58dd..bcd6cb1 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,11 @@ 2014-01-25 Walter Lee + * config/tilepro/atomic.c (BIT_OFFSET): Define

[committed] TILEPro/TILE-Gx: add __sync intrinsics to libgcc.

2014-01-25 Thread Walter Lee
This patch adds the legacy __sync intrinsics to libgcc, for backward compatability. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index bcd6cb1..2504076 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,5 +1,87 @@ 2014-01-25 Walter Lee + * config/tilepro/atomic.c

[committed] TILEPro/TILE-Gx: fix include file issue in atomic.c.

2014-01-25 Thread Walter Lee
-25 Walter Lee + * config/tilepro/atomic.c: Include tconfig.h. Don't include + config.h or system.h. + (bool) Define. + +2014-01-25 Walter Lee + * config/tilepro/atomic.c (pre_atomic_barrier): Mark inline. (post_atomic_barrier): Ditto. (__fetch_a

[committed] TILE-Gx: bundling fix for stack protector patterns.

2014-01-25 Thread Walter Lee
have been formed. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39543a1..7c8fa86 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2014-01-25 Walter Lee + * config/tilegx/tilegx.c (tilegx_gen_bundles): Delete barrier + insns before bundling. + * config

[committed] TILE-Gx: implement 16-byte alignment for __int128 types.

2014-01-25 Thread Walter Lee
always start with a even register. if they are in memory they will have 16-byte alignment. - stack slots will have 16-byte alignment. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c4a449e..dd93134 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,15 @@ 2014-01-25 Walter Lee

[committed] TILEPro/TILE-Gx: fix atomic_nand_and_fetch in libgcc.

2014-01-25 Thread Walter Lee
This patch fixes a bug in the atomic_nand_fetch routine in libgcc. diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index cb6885e..56c58dd 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2014-01-25 Walter Lee + + * config/tilepro/atomic.c (__atomic_do_and_fetch

[committed] TILE-Gx: fix atomic_fetch_sub pattern.

2014-01-25 Thread Walter Lee
This patch fixes a bug in the atomic_fetch_sub pattern. The negation is wrong and a register was getting clobbered. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5d7adb7..15e9194 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2014-01-25 Walter Lee + * config

[committed] TILE-Gx/TILEPro: define __GCC_HAVE_SYNX_COMPARE_AND_SWAP_

2014-01-25 Thread Walter Lee
The patch defines __GCC_HAVE_SYNX_COMPARE_AND_SWAP_ for those that are provided in libgcc. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 3a84318..5d7adb7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2014-01-25 Walter Lee + * config/tilegx/tilegx-c.c

[committed] TILE-Gx/TILEPro: prefetch scheduling fix.

2014-01-25 Thread Walter Lee
This patch marks the prefetch intrinsics as scheduling barriers. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5487ae..39543a1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2014-01-25 Walter Lee + * config/tilegx/tilegx.c (tilegx_expand_builtin): Set

[committed] TILEPro: fix ctzdi2, clzdi2, and ffsdi2 patterns.

2014-01-25 Thread Walter Lee
b/gcc/ChangeLog @@ -1,5 +1,12 @@ 2014-01-25 Walter Lee + * config/tilepro/tilepro.md (ctzdi2): Use register_operand + predicate. + (clzdi2): Ditto. + (ffsdi2): Ditto. + +2014-01-25 Walter Lee + * config/tilegx/tilegx.c (tilegx_expand_to_rtl_hook)

[committed] TILE-Gx: fix pic code generation issue.

2014-01-25 Thread Walter Lee
ost of computing an address. So we reset this value immediately before we begin actual code generation. diff --git a/gcc/ChangeLog b/gcc/ChangeLog index baf3bd6..9306621 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-25 Walter Lee + + * config/tilegx/tileg

[committed] TILEPro atomics.[c,h] fixes

2013-06-08 Thread Walter Lee
This patch cleans up a few issues with atomic.h and atomic.c: remove a few glibc include files to facilitate bootstrapping, but include config.h in atomic.c. Add __extension__ where appropriate, and replace int64_t with long long. * config/tilepro/atomic.h: Don't include stdint.h or feat

Re: RFA: Fix use of extra_objs when configuring tilepro-linux and tilegx-linux

2013-04-21 Thread Walter Lee
Hi Nick. Looks good. Thanks for fixing it. Walter On 4/21/2013 7:03 AM, Nick Clifton wrote: > Hi Walter, > > The tilepro-gnu-linux and tilegx-gnu-linux currently fail to build in > the FSF mainline sources because of: > > libbackend.a(tilepro.o):(.data+0x2e4): undefined reference to

[committed] TILE-Gx: fix prologue register usage

2013-03-26 Thread Walter Lee
This patch fixes a bug that causes the prologue to use more temporary registers than necessary. Backported to 4.7 and 4.8. * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid double-decrement of next_scratch_regno. --- gcc/config/tilegx/tilegx.c (revision 197134) +++ gcc/c

[committed] TILE-Gx: fix predicates for vector patterns

2013-03-26 Thread Walter Lee
This patch fixes the predicates of a few vector patterns. Backported to 4.7 and 4.8. 2013-03-27 Walter Lee * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on input operands. (insn_v1mulus): Ditto. (insn_v2muls): Ditto. --- gcc/config/tilegx/tilegx.md

[committed] TILE-Gx: fix type attribute for jr

2013-03-26 Thread Walter Lee
This patch deletes an extra tab in the asm addr vectors. Backported to 4.7 and 4.8. * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete extra tab. (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto. --- gcc/config/tilegx/tilegx.h (revision 197134) +++ gcc/config/tilegx/tilegx.h

[committed] TILE-Gx: fix type attribute for jr

2013-03-26 Thread Walter Lee
This patch fixes the type attribute for jr. Backported to 4.7 and 4.8. * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr. (*sibcall_value): Ditto. --- gcc/config/tilegx/tilegx.md (revision 197135) +++ gcc/config/tilegx/tilegx.md (working copy) @@ -2592,

[committed] TILE-Gx: fixes for vector pattern using const 0

2013-03-26 Thread Walter Lee
This patch replaces (const_int 0) in vector patterns with its const_vector representation. Backported to 4.7 and 4.8. * config/tilegx/tilegx.md (insn_mnz_): Replaced by ... (insn_mnz_v8qi): ... this ... (insn_mnz_v4hi): ... and this. Replace (const_int 0) with the

[committed] TILE-Gx/TILEPro: define PROFILE_BEFORE_PROLOGUE

2013-03-26 Thread Walter Lee
This patch puts profiling code before the prologue, to avoid clobbering used registers. Backported to 4.7 and 4.8. * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define. * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define. Index: gcc/config/tilegx/tilegx.h =

[committed] TILE-Gx: add flags to CRTSTUFF_T_CFLAGS_S variable.

2013-03-26 Thread Walter Lee
This patch adds "-fno-asynchronous-unwind-tables -mcmodel=large" to CRTSTUFF_T_CFLAGS_S. Backported to 4.8. * config/tilegx/t-crtstuff: Add -fno-asynchronous-unwind-tables -mcmodel=large to CRTSTUFF_T_CFLAGS_S variable. Index: libgcc/config/tilegx/t-crtstuff

[committed] TILE-Gx: add __insn_shufflebytes1 intrinsic

2013-03-25 Thread Walter Lee
This patch adds the __insn_shufflebytes1, which takes only one argument. result = __insn_shufflebytes1(input, select); is equivalent to: result = __insn_shufflebytes(result, input, select); It has the advantage that the compiler will not waste a cycle initializing result unnecessarily. It

[committed] TILE-Gx: add float conversion patterns.

2013-03-25 Thread Walter Lee
This patch adds patterns for floatsisf2, floatunssisf2, floatsidf2, and floatunssidf2. * config/tilegx/tilegx.md (floatsisf2): New pattern. (floatunssisf2): New pattern. (floatsidf2): New pattern. (floatunssidf2): New pattern. Index: gcc/config/tilegx/tilegx.md ==

[committed] TILE-Gx: speed up code to synthesize a constant

2013-03-25 Thread Walter Lee
This patch inlines some tests while searching for the best way to synthesize a constant, to avoid the need to generate an rtx. This became expensive for code that generates a lot of constants. Backported to 4.7 and 4.8. * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline

[committed] TILE-Gx/TILEPro: use pc relative/indirect encoding in eh data

2013-03-25 Thread Walter Lee
This patch switches eh data to always use pc relative/indirect encoding, to avoid relocations of unaligned words. Backported to 4.7 and 4.8. * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format): Use indirect/pcrel encoding. * config/tilepro/tilepro.c (tilepro_as

[committed] TILE-Gx: add atomic test and set pattern

2013-03-20 Thread Walter Lee
This patch adds an atomic test and set pattern on tilegx. Without this pattern, libatomic currently fails to build on tilegx. Do I need permission to backport this to the 4.8 branch? Thanks, Walter * config/tilegx/sync.md (atomic_test_and_set): New pattern. Index: gcc/config/tilegx/sy

Re: Top Level GCC change questions

2012-09-20 Thread Walter Lee
> Not in GCC: > > 2012-09-15 Jiong Wang > > * configure.ac (ENABLE_GOLD): support tilegx* > * configure: rebuild I pulled this into gcc. Walter

Re: [TILE-Gx, committed] support -mcmodel=MODEL

2012-09-14 Thread Walter Lee
On 9/1/2012 7:33 AM, Gerald Pfeifer wrote: On Tue, 28 Aug 2012, Walter Lee wrote: This patch adds support for the -mcmodel=MODEL flag on TILE-Gx. At which point I cannot help asking for an update to the release notes at http://gcc.gnu.org/gcc-4.8/changes.html. ;-) Let me know if you need help

[TILE-Gx, committed] coding style fixes

2012-08-27 Thread Walter Lee
This patch fixes some typos and coding style violations. * confg/tilegx/tilegx.md: Fix code style. (*zero_extendsidi_truncdisi): Fix typo. * config/tilegx/tilegx.c: Fix code style. (tilegx_function_profiler): Fix typo. Index: gcc/config/tilegx/tilegx.md ===

[TILE-Gx, committed] support -mcmodel=MODEL

2012-08-27 Thread Walter Lee
gx_compute_pcrel_address (addr, orig_addr); + else + tilegx_compute_pcrel_plt_address (addr, orig_addr); + operands[1] = gen_rtx_MEM (DImode, addr); +} + } +}) (define_insn "*call_value_insn" [(set (match_operand 0 "register_operand"

[TILE-Gx/TILEPro, committed] mcount typo

2012-08-27 Thread Walter Lee
This patch fixes a typo in the mcount function_profiler. * config/tilegx/tilegx.c (tilegx_function_profiler): Fix typo. config/tilepro/tilepro.c (tilepro_function_profiler): Ditto. Index: gcc/config/tilegx/tilegx.c =

[TILE-Gx, committed] bfins instruction fix

2012-08-27 Thread Walter Lee
This patch stops trying to represent the bfins instruction with the insv pattern, because it causes an extra copy when bfins reuses one of its inputs. * config/tilegx/tilegx.md (*bfins): Rename to insn_bfins. (insn_bfins): Delete. Index: gcc/config/tilegx/tilegx.md ==

[TILE-Gx, committed] fix atomic op latency

2012-08-27 Thread Walter Lee
This patch properly sets the latency of atomic ops to the approximate latency of a remote memory operation. * config/tilegx/sync.md (atomic_compare_and_swap_bare, atomic_exchange_bare, atomic_fetch__bare): Set type to X1_remote. * config/tilegx/tilegx-generic.md (X

[committed] TILE-Gx/TILEPro: add stubs for feedback instrumentation

2012-08-17 Thread Walter Lee
This patch defines the stubs for feedback instrumentation, needed to compile glibc and linux. * config/tilegx/feedback.h (FEEDBACK_ENTER_EXPLICIT): Define. (FEEDBACK_ENTER): Define. (FEEDBACK_REENTER): Define. (FEEDBACK_ENTRY): Define. * config/tilepro/feedback.

[committed] TILE-Gx/TILEPro: add stub header file

2012-08-16 Thread Walter Lee
This patch adds a stub header file "feedback.h," needed to compile glibc and linux. Walter Index: gcc/config.gcc === --- gcc/config.gcc (revision 190448) +++ gcc/config.gcc (working copy) @@ -2440,6 +2440,7 @@ tilegx-*-lin

Re: [PATCH, TileGX] Committed fix for a typo bug

2012-06-15 Thread Walter Lee
Thanks. I found another one and I fixed it. 2012-06-15 Walter Lee * config/tilegx/sync.md (atomic_fetch_): Fix typo. Index: config/tilegx/sync.md === --- config/tilegx/sync.md (revision 188672) +++ config/tilegx

Re: [committed] TILE-Gx/TILEPro: unwind fix for dynamic frames

2012-03-07 Thread Walter Lee
On 3/7/2012 1:01 PM, Walter Lee wrote: This patch fixes an unwinding bug for functions with dynamic stack frames. We stop generating REG_CFA_* notes for stack pointer, and at the end of unwinding we restore the stack pointer by adjusting it by EH_RETURN_STACKADJ_RTX. I forgot to attach the

[committed] TILEPro/TILE-Gx: rename internal atomic macros

2012-03-07 Thread Walter Lee
This patch renames some internal atomic macros to have a less generic prefix. Walter * config/tilepro/atomic.c: Rename "atomic_" prefix to "arch_atomic_". (atomic_xor): Rename and move definition to config/tilepro/atomic.h. (atomic_nand): Ditto. * config

[committed] TILE-Gx/TILEPro: unwind fix for dynamic frames

2012-03-07 Thread Walter Lee
This patch fixes an unwinding bug for functions with dynamic stack frames. We stop generating REG_CFA_* notes for stack pointer, and at the end of unwinding we restore the stack pointer by adjusting it by EH_RETURN_STACKADJ_RTX. Walter diff --git a/gcc/config/tilegx/tilegx.c b/gcc/config/tilegx

[committed] TILE-Gx: Fix tilegx_fixup_pcrel_references

2012-02-25 Thread Walter Lee
This patch fixes a bug in tilegx_fixup_pcrel_references, to properly match and fixup the second instruction of the instruction sequence to generate a pc relative address. Walter * config/tilegx/tilegx.c (match_pcrel_step2): Fix instruction pattern. (replace_mov_pcrel_step

Re: [wwwdocs] add information on TILE-Gx/TILEPro ports

2012-02-17 Thread Walter Lee
On 2/17/2012 1:30 PM, Gerald Pfeifer wrote: On Tue, 14 Feb 2012, Walter Lee wrote: This patch adds information on the Tile-Gx/TILEPro ports to wwwdocs. Ok to commit? (assuming I have commit rights which I have not tried.) Yes (and yes). :-) If you'd like to mention your name in the news

MAINTAINERS: delete self from "Write After Approval"

2012-02-17 Thread Walter Lee
revision 184338) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2012-02-17 Walter Lee + + * MAINTAINERS: (Write After Approval): Delete myself. + 2012-02-14 Walter Lee * MAINTAINERS (tilegx port): Add myself. Ind

[wwwdocs] add information on TILE-Gx/TILEPro ports

2012-02-14 Thread Walter Lee
This patch adds information on the Tile-Gx/TILEPro ports to wwwdocs. Ok to commit? (assuming I have commit rights which I have not tried.) Thanks, Walter Index: backends.html === RCS file: /cvs/gcc/wwwdocs/htdocs/backends.html,v re

Re: [PING] New port resubmission for TILEPro and TILE-Gx

2012-02-14 Thread Walter Lee
On 2/13/2012 6:30 PM, Mike Stump wrote: > On Feb 13, 2012, at 1:43 PM, Walter Lee wrote: >> Thanks for the review. Do I have permission to commit, > > Yes, you do. Richard can approve this, and when he says, Ok., you're good to > go. > >> or is there anyth

MAINTAINERS: add myself

2012-02-13 Thread Walter Lee
Committed. 2012-02-14 Walter Lee * MAINTAINERS (Write After Approval): Add myself. Index: MAINTAINERS === --- MAINTAINERS (revision 184193) +++ MAINTAINERS (working copy) @@ -428,6 +428,7 @@ Asher Langton

Re: [PING] New port resubmission for TILEPro and TILE-Gx

2012-02-13 Thread Walter Lee
On 2/13/2012 3:02 PM, Richard Henderson wrote: On 02/13/2012 07:42 AM, Walter Lee wrote: 1/6 toplevel: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01860.html 2/6 contrib: http://gcc.gnu.org/ml/gcc-patches/2011-12/msg01855.html 3/6 gcc: http://gcc.gnu.org/ml/gcc-patches/2012-01/msg01494.html 4

Re: [PING] New port resubmission for TILEPro and TILE-Gx

2012-02-13 Thread Walter Lee
, Walter Lee

Re: [PING2] New port resubmission for TILEPro and TILE-Gx

2012-02-08 Thread Walter Lee
Still looking for review. It's been about a month and a half. Thanks, Walter On 1/27/2012 12:47 PM, Walter Lee wrote: Ping? It's been a month. Seeing more feedback or status update. Thanks, Walter Lee On 12/30/2011 7:30 PM, Walter Lee wrote: I'm resubmitting the gcc ports

[PING] New port resubmission for TILEPro and TILE-Gx

2012-01-27 Thread Walter Lee
Ping? It's been a month. Seeing more feedback or status update. Thanks, Walter Lee On 12/30/2011 7:30 PM, Walter Lee wrote: I'm resubmitting the gcc ports to TILE-Gx and TILEPro as replies to this email. The resubmission addresses the feedback made by Richard Henderson

Re: [PATCH] New port resubmission for TILEPro and TILE-Gx 1/6: toplevel changes

2011-12-30 Thread Walter Lee
Here are the toplevel changes. 2011-12-30 Walter Lee * MAINTAINERS (tilegx port): Add self. (tilepro port): Add self. diff -r -u -p -N /home/packages/gcc-4.7.0-182680/MAINTAINERS ./MAINTAINERS --- /home/packages/gcc-4.7.0-182680/MAINTAINERS 2011-12-18 01:31:26.0 -0500

[PATCH] New port resubmission for TILEPro and TILE-Gx 6/6: libgomp port

2011-12-30 Thread Walter Lee
Here is the libgomp port. 2011-12-30 Walter Lee * configure.tgt: Handle tilegx and tilepro. * config/linux/tile/futex.h: New file. diff -r -u -p -N /home/packages/gcc-4.7.0-182680/libgomp/config/linux/tile/futex.h ./libgomp/config/linux/tile/futex.h --- /home/packages/gcc

[PATCH] New port resubmission for TILEPro and TILE-Gx 5/6: libgcc port

2011-12-30 Thread Walter Lee
Here is the libgcc port. 2011-12-30 Walter Lee * config.host: Handle tilegx and tilepro. * config/tilegx/sfp-machine.h: New file. * config/tilegx/sfp-machine32.h: New file. * config/tilegx/sfp-machine64.h: New file. * config/tilegx/t-crtstuff: New file

New port resubmission for TILEPro and TILE-Gx 4/6: libcpp port

2011-12-30 Thread Walter Lee
Here is the libcpp port. 2011-12-30 Walter Lee * configure.ac: Require 64-bit hwint for tilegx and tilepro. * configure: Regenerate. diff -r -u -p -N /home/packages/gcc-4.7.0-182680/libcpp/configure ./libcpp/configure --- /home/packages/gcc-4.7.0-182680/libcpp/configure

[PATCH] New port resubmission for TILEPro and TILE-Gx 2/6: changes in contrib

2011-12-30 Thread Walter Lee
Here are the contrib changes. 2011-12-30 Walter Lee * config-list.mk (tilegx-linux-gnu): Add. (tilepro-linux-gnu): Add. * gcc_update (gcc/config/tilegx/mul-tables.c): New dependencies. (gcc/config/tilepro/mul-tables.c): New dependencies. diff -r -u -p -N /home

[PATCH] New port resubmission for TILEPro and TILE-Gx

2011-12-30 Thread Walter Lee
ke > sure that you've got appropriate sign_extend patterns for all of the > "x" insns. Similar to how x86_64 does for the zero_extend patterns. I've added the sign_extend patterns for the 32-bit insns. Please let me know if there is anything I need to address. Thanks, Walter Lee

Re: [PING2] New port for TILEPro and TILE-Gx

2011-11-07 Thread Walter Lee
2011-10/msg01880.html http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02084.html libgcc: http://gcc.gnu.org/ml/gcc-patches/2011-10/msg01882.html http://gcc.gnu.org/ml/gcc-patches/2011-10/msg02086.html Thanks, Walter Lee

Re: [PING2] New port for TILEPro and TILE-Gx

2011-11-07 Thread Walter Lee
Seeking more feedback or status update. Thanks, Walter Lee On 10/30/2011 12:07 PM, Walter Lee wrote: > Ping? I believe I have addressed all the reviewer's (namely Joseph Myers') > comments to date. > > Thanks, > > Walter Lee

[PING] New port for TILEPro and TILE-Gx

2011-10-30 Thread Walter Lee
Ping? I believe I have addressed all the reviewer's (namely Joseph Myers') comments to date. Thanks, Walter Lee

Re: [PATCH] New port for TILEPro and TILE-Gx: 5/7 libgcc port

2011-10-23 Thread Walter Lee
Here is a resubmission of the libgcc patch, removing the dependence on a header (arch/atomic.h) that's not installed by linux. Walter * config.host: Handle tilegx and tilepro. * config/tilegx/sfp-machine.h: New file. * config/tilegx/sfp-machine32.h: New file. * con

Re: [PATCH] New port for TILEPro and TILE-Gx: 5/7 libgcc port

2011-10-20 Thread Walter Lee
Here is a resubmission of the libgcc patch, using soft-fp as the floating point library. I plan to do the benchmarking between the implementations as suggested, but I'd like to decouple that from the initial submission. * config.host: Handle tilegx and tilepro. * config/tilegx

Re: [PATCH] New port for TILEPro and TILE-Gx 2/7: changes in contrib

2011-10-20 Thread Walter Lee
Here is a resubmission of the contrib patch, adding the entries to gcc_update to handle the multiply tables. * config-list.mk (tilegx-linux-gnu): Add. (tilepro-linux-gnu): Add. * gcc_update (gcc/config/tilegx/mul-tables.c): New dependencies. (gcc/config/tilepro/mul

[PATCH] New port for TILEPro and TILE-Gx: 7/7 wwwdocs changes

2011-10-15 Thread Walter Lee
Here are the wwwdocs changes, with the news date TBD. Index: backends.html === RCS file: /cvs/gcc/wwwdocs/htdocs/backends.html,v retrieving revision 1.41 diff -u -p -r1.41 backends.html --- backends.html 15 Jul 2011 09:48:14 -00

[PATCH] New port for TILEPro and TILE-Gx: 6/7 libgomp port

2011-10-15 Thread Walter Lee
/linux/tile/futex.h 1969-12-31 19:00:00.0 -0500 +++ ./libgomp/config/linux/tile/futex.h 2011-10-14 18:14:11.65774 -0400 @@ -0,0 +1,73 @@ +/* Copyright (C) 2011 + Free Software Foundation, Inc. + Contributed by Walter Lee (w...@tilera.com) + + This file is part of the GNU OpenMP

[PATCH] New port for TILEPro and TILE-Gx: 5/7 libgcc port

2011-10-15 Thread Walter Lee
Here is the libgcc port. * config.host: Handle tilegx and tilepro. * config/tilegx/t-tilegx: New file. * config/tilepro/atomic.c: New file. * config/tilepro/milieu.h: New file. * config/tilepro/softdivide.c: New file. * config/tilepro/softfloat.c: Ne

[PATCH] New port for TILEPro and TILE-Gx 4/7: libcpp port

2011-10-15 Thread Walter Lee
Here is the libcpp port. * configure.ac: Require 64-bit hwint for tilegx and tilepro. * configure: Regenerate. diff -r -u -p -N /home/packages/gcc-4.7.0-179959/libcpp/configure ./libcpp/configure --- /home/packages/gcc-4.7.0-179959/libcpp/configure2011-10-14 01:12:52.

[PATCH] New port for TILEPro and TILE-Gx 2/7: changes in contrib

2011-10-15 Thread Walter Lee
Here are the contrib changes. * config-list.mk (tilegx-linux-gnu): Add. (tilepro-linux-gnu): Add. diff -r -u -p -N /home/packages/gcc-4.7.0-179959/contrib/config-list.mk ./contrib/config-list.mk --- /home/packages/gcc-4.7.0-179959/contrib/config-list.mk 2011-10-14 01:08:51.

[PATCH] New port for TILEPro and TILE-Gx 1/7: toplevel changes

2011-10-15 Thread Walter Lee
Weigand uweig...@de.ibm.com +tilegx portWalter Lee w...@tilera.com +tilepro port Walter Lee w...@tilera.com v850 port Nick Cliftonni...@redhat.com vax port Matt Thomas m...@3am-software.com x86

New port for TILEPro and TILE-Gx

2011-10-15 Thread Walter Lee
port 4/7 libcpp port 5/7 libgcc port 6/7 libgomp port 7/7 wwwdocs changes Please let me know if I'm missing anything. Thanks, Walter Lee