- Jun 02, 2009
-
-
Dale Johannesen authored
llvm-svn: 72712
-
Dale Johannesen authored
llvm-svn: 72709
-
Dale Johannesen authored
ADDC/ADDE use MVT::i1 (later, whatever it gets legalized to) instead of MVT::Flag. Remove CARRY_FALSE in favor of 0; adjust all target-independent code to use this format. Most targets will still produce a Flag-setting target-dependent version when selection is done. X86 is converted to use i32 instead, which means TableGen needs to produce different code in xxxGenDAGISel.inc. This keys off the new supportsHasI1 bit in xxxInstrInfo, currently set only for X86; in principle this is temporary and should go away when all other targets have been converted. All relevant X86 instruction patterns are modified to represent setting and using EFLAGS explicitly. The same can be done on other targets. The immediate behavior change is that an ADC/ADD pair are no longer tightly coupled in the X86 scheduler; they can be separated by instructions that don't clobber the flags (MOV). I will soon add some peephole optimizations based on using other instructions that set the flags to feed into ADC. llvm-svn: 72707
-
Dale Johannesen authored
llvm-svn: 72706
-
Dale Johannesen authored
llvm-svn: 72705
-
- Jun 01, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 72698
-
Bruno Cardoso Lopes authored
llvm-svn: 72697
-
Anton Korobeynikov authored
llvm-svn: 72696
-
- May 31, 2009
-
-
Dan Gohman authored
llvm-svn: 72668
-
- May 30, 2009
-
-
Bruno Cardoso Lopes authored
JITCodeEmitter and ObjectCodeEmitter. No functional changes yet. Patch by Aaron Gray llvm-svn: 72631
-
Evan Cheng authored
llvm-svn: 72618
-
Bill Wendling authored
llvm-svn: 72604
-
Anton Korobeynikov authored
llvm-svn: 72593
-
- May 29, 2009
-
-
Evan Cheng authored
llvm-svn: 72558
-
Bill Wendling authored
decoding. Essentially, they both map to the same column in the "opcode extensions for one- and two-byte opcodes" table in the x86 manual. The RawFrm complicates decoding this. Instead, use opcode 0x01, prefix 0x01, and form MRM1r. Then have the code emitter special case these, a la [SML]FENCE. llvm-svn: 72556
-
- May 28, 2009
-
-
Evan Cheng authored
llvm-svn: 72535
-
Evan Cheng authored
llvm-svn: 72534
-
Sanjiv Gupta authored
llvm-svn: 72531
-
Sanjiv Gupta authored
llvm-svn: 72529
-
Sanjiv Gupta authored
llvm-svn: 72521
-
Eli Friedman authored
is actually legal. Part of LegalizeDAG cleanups. llvm-svn: 72513
-
Jeffrey Yasskin authored
list in Attributes.h. It also reorders the CPPBackend list to match so that it's easier to see that it's complete. llvm-svn: 72510
-
Bill Wendling authored
the Intel manual (screenshot) says it should be 0b11110110 (f6). The existing encoding causes a disassembly conflict with MMX_PAVGBrm, which really should be 0f e0." Patch by Sean Callanan! llvm-svn: 72508
-
Evan Cheng authored
Added optimization that narrow load / op / store and the 'op' is a bit twiddling instruction and its second operand is an immediate. If bits that are touched by 'op' can be done with a narrower instruction, reduce the width of the load and store as well. This happens a lot with bitfield manipulation code. e.g. orl $65536, 8(%rax) => orb $1, 10(%rax) Since narrowing is not always a win, e.g. i32 -> i16 is a loss on x86, dag combiner consults with the target before performing the optimization. llvm-svn: 72507
-
- May 27, 2009
-
-
Eli Friedman authored
llvm-svn: 72494
-
Evan Cheng authored
llvm-svn: 72488
-
Bruno Cardoso Lopes authored
llvm-svn: 72483
-
Eli Friedman authored
FP_TO_XINT. Necessary for some cleanups I'm working on. Updated from the previous version (r72431) to fix a bug and make some things a bit clearer. llvm-svn: 72445
-
- May 26, 2009
-
-
Daniel Dunbar authored
llvm-svn: 72436
-
Stefanus Du Toit authored
- added processors k8-sse3, opteron-sse3, athlon64-sse3, amdfam10, and barcelona with appropriate sse3/4a levels - added FeatureSSE4A for amdfam10 processors in X86Subtarget: - added hasSSE4A - updated AutoDetectSubtargetFeatures to detect SSE4A - updated GetCurrentX86CPU to detect family 15 with sse3 as k8-sse3 and family 10h as amdfam10 New processor names match those used by gcc. Patch by Paul Redmond! llvm-svn: 72434
-
Eli Friedman authored
FP_TO_XINT. Necessary for some cleanups I'm working on. llvm-svn: 72431
-
- May 25, 2009
-
-
Chris Lattner authored
even on Core2, not just AMD processors which was a surprise to me. llvm-svn: 72396
-
Chris Lattner authored
llvm-svn: 72395
-
Chris Lattner authored
llvm-svn: 72387
-
- May 24, 2009
-
-
Eli Friedman authored
nodes it generates. llvm-svn: 72356
-
Eli Friedman authored
moment. llvm-svn: 72350
-
- May 23, 2009
-
-
Anton Korobeynikov authored
llvm-svn: 72337
-
Anton Korobeynikov authored
llvm-svn: 72336
-
Anton Korobeynikov authored
llvm-svn: 72335
-
Eli Friedman authored
systems instead of attempting to promote them to a 64-bit SINT_TO_FP or FP_TO_SINT. This is in preparation for removing the type legalization code from LegalizeDAG: once type legalization is gone from LegalizeDAG, it won't be able to handle the i64 operand/result correctly. This isn't quite ideal, but I don't think any other operation for any target ends up in this situation, so treating this case specially seems reasonable. llvm-svn: 72324
-