- Mar 27, 2007
-
-
Reid Spencer authored
Implement error handling for bytecode parsing. Patch by Scott Michel. llvm-svn: 35364
-
Evan Cheng authored
llvm-svn: 35363
-
Dale Johannesen authored
hopefully forestall similar errors. llvm-svn: 35362
-
- Mar 26, 2007
-
-
Chris Lattner authored
llvm-svn: 35361
-
Reid Spencer authored
llvm-svn: 35360
-
Reid Spencer authored
llvm-svn: 35359
-
Reid Spencer authored
original and new instruction. A slight performance hit with ostringstream but it is only for debug. Also, clean up an uninitialized variable warning noticed in a release build. llvm-svn: 35358
-
Reid Spencer authored
llvm-svn: 35357
-
Duncan Sands authored
llvm-svn: 35355
-
Reid Spencer authored
Initial skeleton for pass documentation. llvm-svn: 35354
-
Bill Wendling authored
llvm-svn: 35353
-
Bill Wendling authored
llvm-svn: 35352
-
Bill Wendling authored
#include <mmintrin.h> extern __m64 C; void baz(__v2si *A, __v2si *B) { *A = C; _mm_empty(); } We get this: _baz: call "L1$pb" "L1$pb": popl %eax movl L_C$non_lazy_ptr-"L1$pb"(%eax), %eax movq (%eax), %mm0 movl 4(%esp), %eax movq %mm0, (%eax) emms ret GCC gives us this: _baz: pushl %ebx call L3 "L00000000001$pb": L3: popl %ebx subl $8, %esp movl L_C$non_lazy_ptr-"L00000000001$pb"(%ebx), %eax movl (%eax), %edx movl 4(%eax), %ecx movl 16(%esp), %eax movl %edx, (%eax) movl %ecx, 4(%eax) emms addl $8, %esp popl %ebx ret llvm-svn: 35351
-
Evan Cheng authored
llvm-svn: 35350
-
Reid Spencer authored
shift instruction. llvm-svn: 35349
-
Reid Spencer authored
Fix SingleSource/Regression/C/2003-05-21-UnionBitFields.c by changing a getHighBitsSet call to getLowBitsSet call that was incorrectly converted from the original lshr constant expression. llvm-svn: 35348
-
Dale Johannesen authored
llvm-svn: 35347
-
Chris Lattner authored
This is particularly useful for the JIT, which lazily deserializes functions. llvm-svn: 35346
-
Anton Korobeynikov authored
llvm-svn: 35345
-
- Mar 25, 2007
-
-
Reid Spencer authored
and shifting down without regard for the bitwidth of the APInt can lead to incorrect initialization values. Instead, check for the word size case (to avoid undef results from shift) and then do (1 << loBitsSet) - 1 llvm-svn: 35344
-
Reid Spencer authored
llvm-svn: 35343
-
Reid Spencer authored
Remove a use of getLowBitsSet that caused the mask used for replacement of shl/lshr pairs with an AND instruction to be computed incorrectly. Its not clear exactly why this is the case. This solves the disappearing shifts problem, but it doesn't fix Regression/C/2003-05-21-UnionBitFields. It seems there is more going on. llvm-svn: 35342
-
Chris Lattner authored
llvm-svn: 35341
-
Chris Lattner authored
llvm-svn: 35340
-
Reid Spencer authored
* Don't assume shift amounts are <= 64 bits * Avoid creating an extra APInt in SubOne and AddOne by using -- and ++ * Add another use of getLowBitsSet * Convert a series of if statements to a switch llvm-svn: 35339
-
Anton Korobeynikov authored
strategy, emit JT's where possible. llvm-svn: 35338
-
Anton Korobeynikov authored
llvm-svn: 35337
-
Chris Lattner authored
llvm-svn: 35336
-
Reid Spencer authored
using the facilities of APInt. While this duplicates a tiny fraction of the constant folding code, it also makes the code easier to read and avoids large ConstantExpr overhead for simple, known computations. llvm-svn: 35335
-
Chris Lattner authored
llvm-svn: 35334
-
Zhou Sheng authored
2. Use isStrictlyPositive() instead of isPositive() in two places where they need APInt value > 0 not only >=0. llvm-svn: 35333
-
Chris Lattner authored
CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll llvm-svn: 35332
-
Chris Lattner authored
llvm-svn: 35331
-
Chris Lattner authored
llvm-svn: 35330
-
Chris Lattner authored
llvm-svn: 35329
-
Chris Lattner authored
llvm-svn: 35328
-
Chris Lattner authored
implement initial support for the silly X constraint. Testcase here: CodeGen/X86/2007-03-24-InlineAsmXConstraint.ll llvm-svn: 35327
-
Chris Lattner authored
llvm-svn: 35326
-
Reid Spencer authored
APInt with its type mask. llvm-svn: 35325
-
Chris Lattner authored
llvm-svn: 35324
-