Re: [llvm-commits] [llvm] r40628 - in /llvm/trunk: lib/Target/X86/X86InstrFPStack.td lib/Target/X86/X86InstrFormats.td lib/Target/X86/X86InstrInfo.td lib/Target/X86/X86InstrMMX.td lib/Target/X86/X86In

2007-10-05 Thread Evan Cheng
I'll look at this. Evan On Sep 28, 2007, at 12:17 PM, Chris Lattner wrote: Evan, ping? -Chris On Aug 1, 2007, at 5:47 PM, Chris Lattner wrote: On Jul 31, 2007, at 1:04 AM, Evan Cheng wrote: Author: evancheng Date: Tue Jul 31 03:04:03 2007 New Revision: 40628 URL:

[llvm-commits] [llvm] r42630 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 03:04:01 2007 New Revision: 42630 URL: http://llvm.org/viewvc/llvm-project?rev=42630view=rev Log: Testing convertToThreeeAddress as X86 llcbeta. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp URL:

[llvm-commits] [test-suite] r42630 - /test-suite/trunk/Makefile.programs

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 03:04:01 2007 New Revision: 42630 URL: http://llvm.org/viewvc/llvm-project?rev=42630view=rev Log: Testing convertToThreeeAddress as X86 llcbeta. Modified: test-suite/trunk/Makefile.programs Modified: test-suite/trunk/Makefile.programs URL:

[llvm-commits] [llvm] r42631 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

2007-10-05 Thread Duncan Sands
Author: baldrick Date: Fri Oct 5 05:37:00 2007 New Revision: 42631 URL: http://llvm.org/viewvc/llvm-project?rev=42631view=rev Log: Fix typo in comment. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h URL:

[llvm-commits] [llvm] r42632 - /llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 09:07:56 2007 New Revision: 42632 URL: http://llvm.org/viewvc/llvm-project?rev=42632view=rev Log: Define target-indepenent SDNode types for multiply and divide that produce two results. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAGNodes.h Modified:

[llvm-commits] [llvm] r42633 - /llvm/trunk/include/llvm/CodeGen/SelectionDAG.h

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 09:09:33 2007 New Revision: 42633 URL: http://llvm.org/viewvc/llvm-project?rev=42633view=rev Log: SMUL_LOHI and UMUL_LOHI are commutative. Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h Modified: llvm/trunk/include/llvm/CodeGen/SelectionDAG.h URL:

[llvm-commits] [llvm] r42634 - /llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 09:11:04 2007 New Revision: 42634 URL: http://llvm.org/viewvc/llvm-project?rev=42634view=rev Log: Provide names for MUL_LOHI and DIVREM operators. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAG.cpp Modified:

[llvm-commits] [llvm] r42635 - /llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 09:11:58 2007 New Revision: 42635 URL: http://llvm.org/viewvc/llvm-project?rev=42635view=rev Log: Fix a typo in a comment. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp Modified: llvm/trunk/lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp

[llvm-commits] [llvm] r42636 - /llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 09:17:22 2007 New Revision: 42636 URL: http://llvm.org/viewvc/llvm-project?rev=42636view=rev Log: Legalize support for MUL_LOHI and DIVREM. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp Modified:

[llvm-commits] [llvm] r42637 - /llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 10:54:58 2007 New Revision: 42637 URL: http://llvm.org/viewvc/llvm-project?rev=42637view=rev Log: Change a space to a tab in the assembly output of a .globl directive for consistency. Modified: llvm/trunk/lib/Target/X86/X86ATTAsmPrinter.cpp Modified:

[llvm-commits] [llvm] r42638 - /llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp

2007-10-05 Thread Dan Gohman
Author: djg Date: Fri Oct 5 10:58:41 2007 New Revision: 42638 URL: http://llvm.org/viewvc/llvm-project?rev=42638view=rev Log: Change a few more spaces to tabs in assembly output. Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp Modified: llvm/trunk/lib/Target/X86/X86AsmPrinter.cpp

[llvm-commits] [llvm] r42639 - /llvm/trunk/include/llvm/ADT/DenseSet.h

2007-10-05 Thread Chris Lattner
Author: lattner Date: Fri Oct 5 12:40:38 2007 New Revision: 42639 URL: http://llvm.org/viewvc/llvm-project?rev=42639view=rev Log: Mark count method const. Modified: llvm/trunk/include/llvm/ADT/DenseSet.h Modified: llvm/trunk/include/llvm/ADT/DenseSet.h URL:

[llvm-commits] [llvm] r42640 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.td X86InstrX86-64.td

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 12:59:57 2007 New Revision: 42640 URL: http://llvm.org/viewvc/llvm-project?rev=42640view=rev Log: ADC and SBB uses EFLAGS. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.td llvm/trunk/lib/Target/X86/X86InstrX86-64.td Modified:

[llvm-commits] [llvm] r42642 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.cpp X86InstrX86-64.td

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 13:20:36 2007 New Revision: 42642 URL: http://llvm.org/viewvc/llvm-project?rev=42642view=rev Log: Add support to convert more 64-bit instructions to 3-address instructions. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

[llvm-commits] [llvm] r42644 - in /llvm/trunk: include/llvm/CodeGen/RuntimeLibcalls.h lib/CodeGen/SelectionDAG/LegalizeDAG.cpp lib/CodeGen/SelectionDAG/TargetLowering.cpp lib/Target/PowerPC/PPCCalling

2007-10-05 Thread Dale Johannesen
Author: johannes Date: Fri Oct 5 15:04:43 2007 New Revision: 42644 URL: http://llvm.org/viewvc/llvm-project?rev=42644view=rev Log: First round of ppc long double. call/return and basic arithmetic works. Rename RTLIB long double functions to distinguish different flavors of long double; the lib

[llvm-commits] [llvm] r42647 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 15:34:26 2007 New Revision: 42647 URL: http://llvm.org/viewvc/llvm-project?rev=42647view=rev Log: In 64-bit mode, avoid using leal with 32-bit 32-bit address size, e.g. leal 1(%ecx), %edi, which requires 67H prefix. Modified:

[llvm-commits] [llvm] r42653 - /llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 16:55:32 2007 New Revision: 42653 URL: http://llvm.org/viewvc/llvm-project?rev=42653view=rev Log: INC64_32r - LEA64_32r is better than INC64_32r - LEA32r, but it still can cause performance degradation. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp

[llvm-commits] [llvm] r42654 - in /llvm/trunk: lib/Transforms/Scalar/LoopUnswitch.cpp lib/VMCore/Dominators.cpp test/Transforms/LoopUnswitch/2007-10-04-DomFrontier.ll

2007-10-05 Thread Devang Patel
Author: dpatel Date: Fri Oct 5 17:29:34 2007 New Revision: 42654 URL: http://llvm.org/viewvc/llvm-project?rev=42654view=rev Log: Fix bug in updating dominance frontier after loop unswitch when frontier includes basic blocks that are not inside loop. Added:

[llvm-commits] [test-suite] r42655 - /test-suite/trunk/Makefile.programs

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 17:31:10 2007 New Revision: 42655 URL: http://llvm.org/viewvc/llvm-project?rev=42655view=rev Log: Enable convertToThreeAddress for X86 by default. Modified: test-suite/trunk/Makefile.programs Modified: test-suite/trunk/Makefile.programs URL:

[llvm-commits] [llvm] r42655 - in /llvm/trunk: lib/Target/X86/X86InstrInfo.cpp test/CodeGen/X86/2006-05-02-InstrSched2.ll test/CodeGen/X86/2006-05-11-InstrSched.ll test/CodeGen/X86/loop-strength-reduc

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 17:31:10 2007 New Revision: 42655 URL: http://llvm.org/viewvc/llvm-project?rev=42655view=rev Log: Enable convertToThreeAddress for X86 by default. Modified: llvm/trunk/lib/Target/X86/X86InstrInfo.cpp llvm/trunk/test/CodeGen/X86/2006-05-02-InstrSched2.ll

[llvm-commits] [llvm] r42656 - /llvm/trunk/lib/Target/X86/README.txt

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 17:34:59 2007 New Revision: 42656 URL: http://llvm.org/viewvc/llvm-project?rev=42656view=rev Log: This is done. Modified: llvm/trunk/lib/Target/X86/README.txt Modified: llvm/trunk/lib/Target/X86/README.txt URL:

Re: [llvm-commits] [cfe-commits] r42652 - in /cfe/trunk/www: get_involved.html index.html

2007-10-05 Thread Gordon Henriksen
Hi Kevin, Since you're using non-ASCII characters, could you please declare the character set in the head section? I believe this is correct for this file: meta http-equiv=Content-Type content=text/html; charset=ISO-8859-1 / On Oct 5, 2007, at 17:44, Kevin wrote: Author: kevin Date:

[llvm-commits] [test-suite] r42657 - /test-suite/trunk/SingleSource/Benchmarks/McGill/misr.c

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 17:39:24 2007 New Revision: 42657 URL: http://llvm.org/viewvc/llvm-project?rev=42657view=rev Log: Fix misr on mingw32 Modified: test-suite/trunk/SingleSource/Benchmarks/McGill/misr.c Modified: test-suite/trunk/SingleSource/Benchmarks/McGill/misr.c URL:

[llvm-commits] [test-suite] r42658 - in /test-suite/trunk/SingleSource/Benchmarks/Misc: ReedSolomon.c flops.c mandel.c

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 17:50:24 2007 New Revision: 42658 URL: http://llvm.org/viewvc/llvm-project?rev=42658view=rev Log: Fix 'Misc' on mingw32 Modified: test-suite/trunk/SingleSource/Benchmarks/Misc/ReedSolomon.c test-suite/trunk/SingleSource/Benchmarks/Misc/flops.c

[llvm-commits] [test-suite] r42659 - /test-suite/trunk/MultiSource/Benchmarks/ASCI_Purple/SMG2000/timer.c

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 18:00:17 2007 New Revision: 42659 URL: http://llvm.org/viewvc/llvm-project?rev=42659view=rev Log: Fix smg2000 on mingw32 Modified: test-suite/trunk/MultiSource/Benchmarks/ASCI_Purple/SMG2000/timer.c Modified:

[llvm-commits] CVS: llvm-www/developers.txt

2007-10-05 Thread Chris Lattner
Changes in directory llvm-www: developers.txt updated: 1.14 - 1.15 --- Log message: add dale --- Diffs of the changes: (+1 -0) developers.txt |1 + 1 files changed, 1 insertion(+) Index: llvm-www/developers.txt diff -u llvm-www/developers.txt:1.14 llvm-www/developers.txt:1.15 ---

[llvm-commits] CVS: llvm-www/img/PhotoDale.png

2007-10-05 Thread Chris Lattner
Changes in directory llvm-www/img: PhotoDale.png added (r1.1) --- Log message: add dale --- Diffs of the changes: (+0 -0) PhotoDale.png |0 1 files changed Index: llvm-www/img/PhotoDale.png ___ llvm-commits mailing list

[llvm-commits] CVS: llvm-www/developers.txt

2007-10-05 Thread Chris Lattner
Changes in directory llvm-www: developers.txt updated: 1.15 - 1.16 --- Log message: fix path --- Diffs of the changes: (+1 -1) developers.txt |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm-www/developers.txt diff -u llvm-www/developers.txt:1.15

[llvm-commits] [test-suite] r42660 - in /test-suite/trunk/MultiSource/Benchmarks: Fhourstones-3.1/Game.h Fhourstones-3.1/SearchGame.c Fhourstones/time.c

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 18:07:16 2007 New Revision: 42660 URL: http://llvm.org/viewvc/llvm-project?rev=42660view=rev Log: Clean Fhoursstones: remove time-related routines, unbreak mingw32 Modified: test-suite/trunk/MultiSource/Benchmarks/Fhourstones-3.1/Game.h

[llvm-commits] [test-suite] r42661 - /test-suite/trunk/Makefile.programs

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 18:13:21 2007 New Revision: 42661 URL: http://llvm.org/viewvc/llvm-project?rev=42661view=rev Log: Commute x86 cmove instructions by swapping the operands and change the condition to its inverse. Testing this as llcbeta Modified:

[llvm-commits] [llvm] r42661 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.cpp X86InstrInfo.td X86InstrX86-64.td

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 18:13:21 2007 New Revision: 42661 URL: http://llvm.org/viewvc/llvm-project?rev=42661view=rev Log: Commute x86 cmove instructions by swapping the operands and change the condition to its inverse. Testing this as llcbeta Modified:

[llvm-commits] [llvm] r42664 - /llvm/trunk/test/CodeGen/X86/2007-10-05-3AddrConvert.ll

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 18:33:09 2007 New Revision: 42664 URL: http://llvm.org/viewvc/llvm-project?rev=42664view=rev Log: Test case for 3-address conversion. Added: llvm/trunk/test/CodeGen/X86/2007-10-05-3AddrConvert.ll Added:

[llvm-commits] [test-suite] r42665 - in /test-suite/trunk/MultiSource/Benchmarks/Ptrdist/ft: ft.c graph.c

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 18:37:11 2007 New Revision: 42665 URL: http://llvm.org/viewvc/llvm-project?rev=42665view=rev Log: Time reporting is useless here, remove it. This unbreaks mingw32 also :) Modified: test-suite/trunk/MultiSource/Benchmarks/Ptrdist/ft/ft.c

Re: [llvm-commits] [llvm] r42661 - in /llvm/trunk/lib/Target/X86: X86InstrInfo.cpp X86InstrInfo.td X86InstrX86-64.td

2007-10-05 Thread Chris Lattner
URL: http://llvm.org/viewvc/llvm-project?rev=42661view=rev Log: Commute x86 cmove instructions by swapping the operands and change the condition to its inverse. Testing this as llcbeta Random crazy idea: +def CMOVB16rm : I0x42, MRMSrcMem, // if u, GR16 = [mem16] +

[llvm-commits] [llvm] r42666 - in /llvm/trunk: Xcode/LLVM.xcodeproj/project.pbxproj include/llvm-c/Core.h include/llvm/Support/CHelpers.h lib/Bitcode/Writer/BitWriter.cpp lib/VMCore/Core.cpp

2007-10-05 Thread Gordon Henriksen
Author: gordon Date: Fri Oct 5 18:59:36 2007 New Revision: 42666 URL: http://llvm.org/viewvc/llvm-project?rev=42666view=rev Log: Removing the silly CHelpers header by rolling wrap and unwrap into the C bindings headers themselves, hidden behind #ifdef __cplusplus. Removed:

[llvm-commits] [test-suite] r42667 - in /test-suite/trunk/MultiSource: Applications/SIBsim4/sim4.init.c Applications/lambda-0.1.3/lambda.cc Benchmarks/FreeBench/analyzer/analyzer.c Benchmarks/FreeBenc

2007-10-05 Thread Anton Korobeynikov
Author: asl Date: Fri Oct 5 19:04:11 2007 New Revision: 42667 URL: http://llvm.org/viewvc/llvm-project?rev=42667view=rev Log: Another bunch of mingw32 fixes here and there Modified: test-suite/trunk/MultiSource/Applications/SIBsim4/sim4.init.c

[llvm-commits] [llvm] r42668 - in /llvm/trunk: bindings/ocaml/llvm/llvm.ml bindings/ocaml/llvm/llvm.mli bindings/ocaml/llvm/llvm_ocaml.c include/llvm-c/Core.h lib/VMCore/Core.cpp

2007-10-05 Thread Gordon Henriksen
Author: gordon Date: Fri Oct 5 19:08:49 2007 New Revision: 42668 URL: http://llvm.org/viewvc/llvm-project?rev=42668view=rev Log: Wrapping Value::dump. Modified: llvm/trunk/bindings/ocaml/llvm/llvm.ml llvm/trunk/bindings/ocaml/llvm/llvm.mli llvm/trunk/bindings/ocaml/llvm/llvm_ocaml.c

[llvm-commits] [llvm] r42669 - in /llvm/trunk: include/llvm/ADT/APInt.h lib/Support/APFloat.cpp lib/Support/APInt.cpp

2007-10-05 Thread Neil Booth
Author: neil Date: Fri Oct 5 19:24:48 2007 New Revision: 42669 URL: http://llvm.org/viewvc/llvm-project?rev=42669view=rev Log: Generalize tcFullMultiply so that the operands can be of differing part widths. Also, return the number of parts actually required to hold the result's value. Remove an

[llvm-commits] [llvm] r42670 - /llvm/trunk/lib/Support/APInt.cpp

2007-10-05 Thread Neil Booth
Author: neil Date: Fri Oct 5 19:43:45 2007 New Revision: 42670 URL: http://llvm.org/viewvc/llvm-project?rev=42670view=rev Log: Fix and clarify some comments. Modified: llvm/trunk/lib/Support/APInt.cpp Modified: llvm/trunk/lib/Support/APInt.cpp URL:

[llvm-commits] [llvm] r42671 - /llvm/trunk/test/CodeGen/X86/2007-10-05-3AddrConvert.ll

2007-10-05 Thread Dale Johannesen
Author: johannes Date: Fri Oct 5 20:22:39 2007 New Revision: 42671 URL: http://llvm.org/viewvc/llvm-project?rev=42671view=rev Log: Make test work on non-x86 hosts. Modified: llvm/trunk/test/CodeGen/X86/2007-10-05-3AddrConvert.ll Modified:

[llvm-commits] [llvm] r42672 - in /llvm/trunk/lib: CodeGen/SelectionDAG/LegalizeDAG.cpp Target/PowerPC/PPCISelLowering.cpp

2007-10-05 Thread Dale Johannesen
Author: johannes Date: Fri Oct 5 20:24:11 2007 New Revision: 42672 URL: http://llvm.org/viewvc/llvm-project?rev=42672view=rev Log: Next powerpc long double bits. Comparisons work, although not well, and shortening FP converts. Modified: llvm/trunk/lib/CodeGen/SelectionDAG/LegalizeDAG.cpp

Re: [llvm-commits] [cfe-commits] r42652 - in /cfe/trunk/www: get_involved.html index.html

2007-10-05 Thread Bill Wendling
I would prefer that they not be there at all. :-) -bw On Oct 5, 2007, at 3:36 PM, Gordon Henriksen wrote: Hi Kevin, Since you're using non-ASCII characters, could you please declare the character set in the head section? I believe this is correct for this file: meta

[llvm-commits] [llvm] r42677 - in /llvm/trunk/lib: CodeGen/SelectionDAG/DAGCombiner.cpp Target/X86/X86InstrSSE.td

2007-10-05 Thread Evan Cheng
Author: evancheng Date: Fri Oct 5 21:46:29 2007 New Revision: 42677 URL: http://llvm.org/viewvc/llvm-project?rev=42677view=rev Log: Added DAG xforms. e.g. (vextract (v4f32 s2v (f32 load $addr)), 0) - (f32 load $addr) (vextract (v4i32 bc (v4f32 s2v (f32 load $addr))), 0) - (i32 load $addr)

Re: [llvm-commits] [llvm] r42677 - in /llvm/trunk/lib: CodeGen/SelectionDAG/DAGCombiner.cpp Target/X86/X86InstrSSE.td

2007-10-05 Thread Chris Lattner
Evan, it looks like you missed a commit. Would a similar approach be suitable to implement this X86/README-SSE.txt entry?: + +These functions should produce the same code: + +#include emmintrin.h + +typedef long long __m128i __attribute__ ((__vector_size__ (16))); + +int foo(__m128i* val) { +