oota-llvm.git
18 years agoDon't get confused by dead casts.
Chris Lattner [Thu, 13 Apr 2006 17:26:54 +0000 (17:26 +0000)]
Don't get confused by dead casts.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27662 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix an accidental commit.
Chris Lattner [Thu, 13 Apr 2006 17:21:49 +0000 (17:21 +0000)]
Fix an accidental commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27661 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoThis test fails and I don't know why, xfail it until andrew gets a chance to
Chris Lattner [Thu, 13 Apr 2006 17:19:34 +0000 (17:19 +0000)]
This test fails and I don't know why, xfail it until andrew gets a chance to
look at it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27660 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoOops, move misplaced test
Chris Lattner [Thu, 13 Apr 2006 17:18:42 +0000 (17:18 +0000)]
Oops, move misplaced test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27659 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoThese are only XFAILs with llvmgcc3, they pass with llvmgcc4
Chris Lattner [Thu, 13 Apr 2006 17:16:21 +0000 (17:16 +0000)]
These are only XFAILs with llvmgcc3, they pass with llvmgcc4

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27658 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoForce non-darwin targets to use a static relo model. This fixes PR734,
Chris Lattner [Thu, 13 Apr 2006 17:10:48 +0000 (17:10 +0000)]
Force non-darwin targets to use a static relo model.  This fixes PR734,
tested by CodeGen/Generic/vector.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27657 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd a run with an unusual target triple, revert the patch that sent output to
Chris Lattner [Thu, 13 Apr 2006 17:10:03 +0000 (17:10 +0000)]
Add a run with an unusual target triple, revert the patch that sent output to
dev null as it broke the test and doesn't add anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27656 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate a count, this test now passes.
Chris Lattner [Thu, 13 Apr 2006 16:52:13 +0000 (16:52 +0000)]
Update a count, this test now passes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27655 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoadd a note, move an altivec todo to the altivec list.
Chris Lattner [Thu, 13 Apr 2006 16:48:00 +0000 (16:48 +0000)]
add a note, move an altivec todo to the altivec list.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27654 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agolinear -> constant time
Andrew Lenharth [Thu, 13 Apr 2006 13:43:31 +0000 (13:43 +0000)]
linear -> constant time

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27652 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd the README files to the distribution.
Reid Spencer [Thu, 13 Apr 2006 06:39:24 +0000 (06:39 +0000)]
Add the README files to the distribution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27651 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd missing things to the distribution.
Reid Spencer [Thu, 13 Apr 2006 06:27:20 +0000 (06:27 +0000)]
Add missing things to the distribution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27650 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDistribute the Stacker samples directory.
Reid Spencer [Thu, 13 Apr 2006 06:16:37 +0000 (06:16 +0000)]
Distribute the Stacker samples directory.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27648 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agopsad, pmax, pmin intrinsics.
Evan Cheng [Thu, 13 Apr 2006 06:11:45 +0000 (06:11 +0000)]
psad, pmax, pmin intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27647 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agopmin, pmax, and psad intrinsics.
Evan Cheng [Thu, 13 Apr 2006 06:09:41 +0000 (06:09 +0000)]
pmin, pmax, and psad intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27646 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoVarious SSE2 packed integer intrinsics: pmulhuw, pavgw, etc.
Evan Cheng [Thu, 13 Apr 2006 05:24:54 +0000 (05:24 +0000)]
Various SSE2 packed integer intrinsics: pmulhuw, pavgw, etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27645 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoX86 SSE2 supports v8i16 multiplication
Evan Cheng [Thu, 13 Apr 2006 05:10:25 +0000 (05:10 +0000)]
X86 SSE2 supports v8i16 multiplication

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27644 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate
Evan Cheng [Thu, 13 Apr 2006 05:09:45 +0000 (05:09 +0000)]
Update

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27643 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agopmul*, pmadd*, and pavg* intrinsics.
Evan Cheng [Thu, 13 Apr 2006 05:09:06 +0000 (05:09 +0000)]
pmul*, pmadd*, and pavg* intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27642 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoone too many l's
Chris Lattner [Thu, 13 Apr 2006 04:21:31 +0000 (04:21 +0000)]
one too many l's

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27641 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoquick update
Andrew Lenharth [Thu, 13 Apr 2006 02:05:30 +0000 (02:05 +0000)]
quick update

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27640 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agopadds{b|w}, paddus{b|w}, psubs{b|w}, psubus{b|w} intrinsics.
Evan Cheng [Thu, 13 Apr 2006 00:43:35 +0000 (00:43 +0000)]
padds{b|w}, paddus{b|w}, psubs{b|w}, psubus{b|w} intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27639 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoNaming inconsistency.
Evan Cheng [Thu, 13 Apr 2006 00:00:23 +0000 (00:00 +0000)]
Naming inconsistency.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27638 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoSSE / SSE2 conversion intrinsics.
Evan Cheng [Wed, 12 Apr 2006 23:42:44 +0000 (23:42 +0000)]
SSE / SSE2 conversion intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27637 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix a typo in the name of a file.
Reid Spencer [Wed, 12 Apr 2006 23:15:10 +0000 (23:15 +0000)]
Fix a typo in the name of a file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27636 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdded the ability to xfail based on llvmgcc version
Tanya Lattner [Wed, 12 Apr 2006 21:57:40 +0000 (21:57 +0000)]
Added the ability to xfail based on llvmgcc version

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27635 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate my credits. Can I add "Build breaker" to my entry?
Evan Cheng [Wed, 12 Apr 2006 21:28:14 +0000 (21:28 +0000)]
Update my credits. Can I add "Build breaker" to my entry?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27634 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAll "integer" logical ops (pand, por, pxor) are now promoted to v2i64.
Evan Cheng [Wed, 12 Apr 2006 21:21:57 +0000 (21:21 +0000)]
All "integer" logical ops (pand, por, pxor) are now promoted to v2i64.
Clean up and fix various logical ops issues.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27633 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoPromote vector AND, OR, and XOR
Evan Cheng [Wed, 12 Apr 2006 21:20:24 +0000 (21:20 +0000)]
Promote vector AND, OR, and XOR

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27632 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDon't dump the llc assembly output to stdout.
Reid Spencer [Wed, 12 Apr 2006 21:03:04 +0000 (21:03 +0000)]
Don't dump the llc assembly output to stdout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27631 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMake sure CVS versions of yacc and lex files get distributed.
Reid Spencer [Wed, 12 Apr 2006 20:57:05 +0000 (20:57 +0000)]
Make sure CVS versions of yacc and lex files get distributed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27630 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDistribute CVS versions of lex files
Reid Spencer [Wed, 12 Apr 2006 20:56:12 +0000 (20:56 +0000)]
Distribute CVS versions of lex files

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27629 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDistribute the lex/yacc files from the cvs version.
Reid Spencer [Wed, 12 Apr 2006 20:55:23 +0000 (20:55 +0000)]
Distribute the lex/yacc files from the cvs version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27628 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdditional files to distribute.
Reid Spencer [Wed, 12 Apr 2006 20:54:01 +0000 (20:54 +0000)]
Additional files to distribute.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27627 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoInclude the win32 and Xcode directories in the distribution.
Reid Spencer [Wed, 12 Apr 2006 20:53:14 +0000 (20:53 +0000)]
Include the win32 and Xcode directories in the distribution.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27626 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoGet rid of a signed/unsigned compare warning.
Reid Spencer [Wed, 12 Apr 2006 19:28:15 +0000 (19:28 +0000)]
Get rid of a signed/unsigned compare warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27625 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd a new way to match vector constants, which make it easier to bang bits of
Chris Lattner [Wed, 12 Apr 2006 19:07:14 +0000 (19:07 +0000)]
Add a new way to match vector constants, which make it easier to bang bits of
different types.

Codegen spltw(0x7FFFFFFF) and spltw(0x80000000) without a constant pool load,
implementing PowerPC/vec_constants.ll:test1.  This compiles:

typedef float vf __attribute__ ((vector_size (16)));
typedef int vi __attribute__ ((vector_size (16)));
void test(vi *P1, vi *P2, vf *P3) {
  *P1 &= (vi){0x80000000,0x80000000,0x80000000,0x80000000};
  *P2 &= (vi){0x7FFFFFFF,0x7FFFFFFF,0x7FFFFFFF,0x7FFFFFFF};
  *P3 = vec_abs((vector float)*P3);
}

to:

_test:
        mfspr r2, 256
        oris r6, r2, 49152
        mtspr 256, r6
        vspltisw v0, -1
        vslw v0, v0, v0
        lvx v1, 0, r3
        vand v1, v1, v0
        stvx v1, 0, r3
        lvx v1, 0, r4
        vandc v1, v1, v0
        stvx v1, 0, r4
        lvx v1, 0, r5
        vandc v0, v1, v0
        stvx v0, 0, r5
        mtspr 256, r2
        blr

instead of (with two constant pool entries):

_test:
        mfspr r2, 256
        oris r6, r2, 49152
        mtspr 256, r6
        li r6, lo16(LCPI1_0)
        lis r7, ha16(LCPI1_0)
        li r8, lo16(LCPI1_1)
        lis r9, ha16(LCPI1_1)
        lvx v0, r7, r6
        lvx v1, 0, r3
        vand v0, v1, v0
        stvx v0, 0, r3
        lvx v0, r9, r8
        lvx v1, 0, r4
        vand v1, v1, v0
        stvx v1, 0, r4
        lvx v1, 0, r5
        vand v0, v1, v0
        stvx v0, 0, r5
        mtspr 256, r2
        blr

GCC produces (with 2 cp entries):

_test:
        mfspr r0,256
        stw r0,-4(r1)
        oris r0,r0,0xc00c
        mtspr 256,r0
        lis r2,ha16(LC0)
        lis r9,ha16(LC1)
        la r2,lo16(LC0)(r2)
        lvx v0,0,r3
        lvx v1,0,r5
        la r9,lo16(LC1)(r9)
        lwz r12,-4(r1)
        lvx v12,0,r2
        lvx v13,0,r9
        vand v0,v0,v12
        stvx v0,0,r3
        vspltisw v0,-1
        vslw v12,v0,v0
        vandc v1,v1,v12
        stvx v1,0,r5
        lvx v0,0,r4
        vand v0,v0,v13
        stvx v0,0,r4
        mtspr 256,r12
        blr

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27624 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd the llvm-config directory to the EXTRA_DIST line so it gets distributed
Reid Spencer [Wed, 12 Apr 2006 19:06:14 +0000 (19:06 +0000)]
Add the llvm-config directory to the EXTRA_DIST line so it gets distributed
even though its not being built currently. This prevents dist-check from
failing because configure can't find llvm-config.in.in

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27623 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agonew testcase
Chris Lattner [Wed, 12 Apr 2006 19:04:27 +0000 (19:04 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27622 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMake sure that the C Frontend's runtime library directory is included as
Reid Spencer [Wed, 12 Apr 2006 18:21:35 +0000 (18:21 +0000)]
Make sure that the C Frontend's runtime library directory is included as
a -L option to gccld whenever we're building a bytecode module or archive.
This gets around the "Cannot find library 'crtend'" warning messages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27621 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoTurn casts into getelementptr's when possible. This enables SROA to be more
Chris Lattner [Wed, 12 Apr 2006 18:09:35 +0000 (18:09 +0000)]
Turn casts into getelementptr's when possible.  This enables SROA to be more
aggressive in some cases where LLVMGCC 4 is inserting casts for no reason.

This implements InstCombine/cast.ll:test27/28.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27620 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdded llvmgcc version to allow tests to be xfailed by frontend version.
Tanya Lattner [Wed, 12 Apr 2006 18:08:25 +0000 (18:08 +0000)]
Added llvmgcc version to allow tests to be xfailed by frontend version.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27619 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoThese casts should turn into gep instructions
Chris Lattner [Wed, 12 Apr 2006 18:07:41 +0000 (18:07 +0000)]
These casts should turn into gep instructions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27618 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDon't emit useless warning messages.
Reid Spencer [Wed, 12 Apr 2006 17:56:16 +0000 (17:56 +0000)]
Don't emit useless warning messages.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27617 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate adding an intrinsic to describe that you can now just plop it into the
Chris Lattner [Wed, 12 Apr 2006 17:42:39 +0000 (17:42 +0000)]
Update adding an intrinsic to describe that you can now just plop it into the
target .td file instead of adding SDNodes etc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27616 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agomake recovering running_Olden data easier when the nightly tester eats the graphs
Andrew Lenharth [Wed, 12 Apr 2006 17:41:19 +0000 (17:41 +0000)]
make recovering running_Olden data easier when the nightly tester eats the graphs

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27615 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoRename get_VSPLI_elt -> get_VSPLTI_elt
Chris Lattner [Wed, 12 Apr 2006 17:37:20 +0000 (17:37 +0000)]
Rename get_VSPLI_elt -> get_VSPLTI_elt

Canonicalize BUILD_VECTOR's that match VSPLTI's into a single type for each
form, eliminating a bunch of Pat patterns in the .td file and allowing us to
CSE stuff more aggressively.  This implements
PowerPC/buildvec_canonicalize.ll:VSPLTI

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27614 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agotwo equivalent vsplti*s in different types should be CSEd.
Chris Lattner [Wed, 12 Apr 2006 17:36:04 +0000 (17:36 +0000)]
two equivalent vsplti*s in different types should be CSEd.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27613 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoPromote v4i32, v8i16, v16i8 load to v2i64 load.
Evan Cheng [Wed, 12 Apr 2006 17:12:36 +0000 (17:12 +0000)]
Promote v4i32, v8i16, v16i8 load to v2i64 load.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27612 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoRename this file
Chris Lattner [Wed, 12 Apr 2006 17:01:11 +0000 (17:01 +0000)]
Rename this file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27611 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMake this test more interesting by checking that the 0.0 used to implement vector...
Chris Lattner [Wed, 12 Apr 2006 16:57:39 +0000 (16:57 +0000)]
Make this test more interesting by checking that the 0.0 used to implement vector fmul gets cse'd also.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27610 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoEnsure that zero vectors are always v4i32, which forces them to CSE with
Chris Lattner [Wed, 12 Apr 2006 16:53:28 +0000 (16:53 +0000)]
Ensure that zero vectors are always v4i32, which forces them to CSE with
each other.  This implements CodeGen/PowerPC/vxor-canonicalize.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27609 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agonew testcase
Chris Lattner [Wed, 12 Apr 2006 16:49:16 +0000 (16:49 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27608 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMake sure both member variables are initialized in the default constructor
Reid Spencer [Wed, 12 Apr 2006 16:44:15 +0000 (16:44 +0000)]
Make sure both member variables are initialized in the default constructor
for SDOperand. This gets rid of numerous warnings in lib/CodeGen and
lib/Target when compiled with GCC 4.0.2

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27607 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoVector type promotion for ISD::LOAD and ISD::SELECT
Evan Cheng [Wed, 12 Apr 2006 16:33:18 +0000 (16:33 +0000)]
Vector type promotion for ISD::LOAD and ISD::SELECT

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27606 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoProvide a default impl of LowerArguments
Chris Lattner [Wed, 12 Apr 2006 16:21:12 +0000 (16:21 +0000)]
Provide a default impl of LowerArguments

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27605 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoImplement support for the formal_arguments node. To get this, targets shouldcustom...
Chris Lattner [Wed, 12 Apr 2006 16:20:43 +0000 (16:20 +0000)]
Implement support for the formal_arguments node.  To get this, targets shouldcustom legalize it and remove their XXXTargetLowering::LowerArguments overload

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27604 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoVarious SSE2 conversion intrinsics
Evan Cheng [Wed, 12 Apr 2006 05:20:24 +0000 (05:20 +0000)]
Various SSE2 conversion intrinsics

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27603 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDon't memoize vloads in the load map! Don't memoize them anywhere here, let
Chris Lattner [Wed, 12 Apr 2006 03:25:41 +0000 (03:25 +0000)]
Don't memoize vloads in the load map!  Don't memoize them anywhere here, let
getNode do it.  This fixes CodeGen/Generic/2006-04-11-vecload.ll

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27602 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agonew testcase
Chris Lattner [Wed, 12 Apr 2006 03:24:46 +0000 (03:24 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27601 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoRemove extraneous building in target dist-check. There is no reason that
Reid Spencer [Wed, 12 Apr 2006 03:07:02 +0000 (03:07 +0000)]
Remove extraneous building in target dist-check. There is no reason that
a distribution should need to be able to make a distribution so eliminate
the "make dist" from the list of targets attempted.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27600 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdded __builtin_ia32_storelv4si, __builtin_ia32_movqv4si,
Evan Cheng [Tue, 11 Apr 2006 22:28:25 +0000 (22:28 +0000)]
Added __builtin_ia32_storelv4si, __builtin_ia32_movqv4si,
__builtin_ia32_loadlv4si, __builtin_ia32_loaddqu, __builtin_ia32_storedqu.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27599 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoDon't overload anchor names, silly browser's can't handle it.
Reid Spencer [Tue, 11 Apr 2006 22:02:18 +0000 (22:02 +0000)]
Don't overload anchor names, silly browser's can't handle it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27598 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd the contents of my email about distribution targets as a new section.
Reid Spencer [Tue, 11 Apr 2006 21:59:37 +0000 (21:59 +0000)]
Add the contents of my email about distribution targets as a new section.
Attribute John as an author.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27597 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agonew dag node
Chris Lattner [Tue, 11 Apr 2006 21:30:42 +0000 (21:30 +0000)]
new dag node

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27596 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFirst pass over Reid's document.
John Criswell [Tue, 11 Apr 2006 20:24:28 +0000 (20:24 +0000)]
First pass over Reid's document.
Changed the order of operations so that more of the fine tuning is
performed in the release branch.  This should free up mainline sooner to
resume development.
Removed information on the special release Makefile targets as I've never
used them for a release; Tanya is investigating their integration, and they
can be re-added if she uses them.
Added an outline for building the LLVM GCC binary distributions.  I will
be filling that section out later (but before the 1.7 release).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27595 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix SingleSource/UnitTests/Vector/sumarray-dbl
Nate Begeman [Tue, 11 Apr 2006 19:44:43 +0000 (19:44 +0000)]
Fix SingleSource/UnitTests/Vector/sumarray-dbl

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27594 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix PR727, correctly handling large stack aligments on ppc
Nate Begeman [Tue, 11 Apr 2006 19:29:21 +0000 (19:29 +0000)]
Fix PR727, correctly handling large stack aligments on ppc

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27593 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agowe have a shuffle instr, add an example.
Chris Lattner [Tue, 11 Apr 2006 18:47:03 +0000 (18:47 +0000)]
we have a shuffle instr, add an example.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27592 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agogcc lower SSE prefetch into generic prefetch intrinsic. Need to add support
Evan Cheng [Tue, 11 Apr 2006 18:04:57 +0000 (18:04 +0000)]
gcc lower SSE prefetch into generic prefetch intrinsic. Need to add support
later.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27591 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMisc. intrinsics.
Evan Cheng [Tue, 11 Apr 2006 17:35:57 +0000 (17:35 +0000)]
Misc. intrinsics.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27590 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate credibility.
Jim Laskey [Tue, 11 Apr 2006 08:16:45 +0000 (08:16 +0000)]
Update credibility.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27589 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoSuppress debug label when not debug.
Jim Laskey [Tue, 11 Apr 2006 08:11:53 +0000 (08:11 +0000)]
Suppress debug label when not debug.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27588 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agomovnt* and maskmovdqu intrinsics
Evan Cheng [Tue, 11 Apr 2006 06:57:30 +0000 (06:57 +0000)]
movnt* and maskmovdqu intrinsics

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27587 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoOnly get Tmp2 for cases where number of operands is > 1. Fixed return void.
Evan Cheng [Tue, 11 Apr 2006 06:33:39 +0000 (06:33 +0000)]
Only get Tmp2 for cases where number of operands is > 1. Fixed return void.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27586 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix an anchor.
Reid Spencer [Tue, 11 Apr 2006 06:22:15 +0000 (06:22 +0000)]
Fix an anchor.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27585 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFlesh out the documentation a little bit more.
Reid Spencer [Tue, 11 Apr 2006 06:21:25 +0000 (06:21 +0000)]
Flesh out the documentation a little bit more.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27584 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUpdate my entry.
Reid Spencer [Tue, 11 Apr 2006 05:48:40 +0000 (05:48 +0000)]
Update my entry.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27583 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoupdate my credits entry per clattner's request!
Nate Begeman [Tue, 11 Apr 2006 05:47:45 +0000 (05:47 +0000)]
update my credits entry per clattner's request!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27582 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoKeep Visual Studio happy.
Jeff Cohen [Tue, 11 Apr 2006 02:01:22 +0000 (02:01 +0000)]
Keep Visual Studio happy.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27581 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoadd some todos
Chris Lattner [Tue, 11 Apr 2006 02:00:08 +0000 (02:00 +0000)]
add some todos

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27580 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoVector function results go into V2 according to GCC. The darwin ABI doc
Chris Lattner [Tue, 11 Apr 2006 01:38:39 +0000 (01:38 +0000)]
Vector function results go into V2 according to GCC.  The darwin ABI doc
doesn't say where they go :-/

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27579 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd basic support for legalizing returns of vectors
Chris Lattner [Tue, 11 Apr 2006 01:31:51 +0000 (01:31 +0000)]
Add basic support for legalizing returns of vectors

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27578 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoMove some return-handling code from lowerarguments to the ISD::RET handling stuff.
Chris Lattner [Tue, 11 Apr 2006 01:21:43 +0000 (01:21 +0000)]
Move some return-handling code from lowerarguments to the ISD::RET handling stuff.
No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27577 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdd helper methods.
Chris Lattner [Tue, 11 Apr 2006 01:09:25 +0000 (01:09 +0000)]
Add helper methods.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27576 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdded support for _mm_move_ss and _mm_move_sd.
Evan Cheng [Tue, 11 Apr 2006 00:19:04 +0000 (00:19 +0000)]
Added support for _mm_move_ss and _mm_move_sd.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27575 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoUse existing information.
Jim Laskey [Mon, 10 Apr 2006 23:09:19 +0000 (23:09 +0000)]
Use existing information.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27574 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoImplement vec_shuffle.ll:test3
Chris Lattner [Mon, 10 Apr 2006 23:06:36 +0000 (23:06 +0000)]
Implement vec_shuffle.ll:test3

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27573 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agonew testcase
Chris Lattner [Mon, 10 Apr 2006 23:06:18 +0000 (23:06 +0000)]
new testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27572 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoImplement InstCombine/vec_shuffle.ll:test[12]
Chris Lattner [Mon, 10 Apr 2006 22:45:52 +0000 (22:45 +0000)]
Implement InstCombine/vec_shuffle.ll:test[12]

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27571 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoNew testcase
Chris Lattner [Mon, 10 Apr 2006 22:45:37 +0000 (22:45 +0000)]
New testcase

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27570 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoRemove some bogus patterns; clean up.
Evan Cheng [Mon, 10 Apr 2006 22:35:16 +0000 (22:35 +0000)]
Remove some bogus patterns; clean up.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27569 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoFix a typo: Instr* -> Intr*
Chris Lattner [Mon, 10 Apr 2006 22:02:59 +0000 (22:02 +0000)]
Fix a typo: Instr* -> Intr*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27568 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoadd a note
Chris Lattner [Mon, 10 Apr 2006 21:51:03 +0000 (21:51 +0000)]
add a note

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27567 91177308-0d34-0410-b5e6-96231b3b80d8

18 years ago* Remove duplicated table of contents for a section and at the top level
Misha Brukman [Mon, 10 Apr 2006 21:43:05 +0000 (21:43 +0000)]
* Remove duplicated table of contents for a section and at the top level
* Fix relative links within the file
* Add <tt> tags around command names and literal file names and directories

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27566 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoRemove an entry that is now done.
Evan Cheng [Mon, 10 Apr 2006 21:42:57 +0000 (21:42 +0000)]
Remove an entry that is now done.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27565 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoAdded some missing shuffle patterns.
Evan Cheng [Mon, 10 Apr 2006 21:42:19 +0000 (21:42 +0000)]
Added some missing shuffle patterns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27564 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agoCorrect an entry
Evan Cheng [Mon, 10 Apr 2006 21:41:39 +0000 (21:41 +0000)]
Correct an entry

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27563 91177308-0d34-0410-b5e6-96231b3b80d8

18 years agomovups / movupd
Evan Cheng [Mon, 10 Apr 2006 21:11:06 +0000 (21:11 +0000)]
movups / movupd

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27562 91177308-0d34-0410-b5e6-96231b3b80d8

18 years ago__builtin_ia32_loadup{s|d}, __builtin_ia32_storeup{s|d}
Evan Cheng [Mon, 10 Apr 2006 21:09:59 +0000 (21:09 +0000)]
__builtin_ia32_loadup{s|d}, __builtin_ia32_storeup{s|d}

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27561 91177308-0d34-0410-b5e6-96231b3b80d8