llvm-6502/utils/TableGen
Bill Wendling eebc8a1bc5 Add support for the v1i64 type. This makes better code for this:
#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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35351 91177308-0d34-0410-b5e6-96231b3b80d8
2007-03-26 07:53:08 +00:00
..
.cvsignore
AsmWriterEmitter.cpp Files missing from LABEL check in. 2007-01-26 17:29:20 +00:00
AsmWriterEmitter.h
CallingConvEmitter.cpp Refactoring of formal parameter flags. Enable properly use of 2007-03-07 16:25:09 +00:00
CallingConvEmitter.h *** empty log message *** 2007-02-27 22:05:51 +00:00
CodeEmitterGen.cpp Files missing from LABEL check in. 2007-01-26 17:29:20 +00:00
CodeEmitterGen.h
CodeGenInstruction.h Recognize target instruction flag 'isReMaterializable'. 2007-03-19 06:20:37 +00:00
CodeGenIntrinsics.h
CodeGenRegisters.h
CodeGenTarget.cpp Add support for the v1i64 type. This makes better code for this: 2007-03-26 07:53:08 +00:00
CodeGenTarget.h
DAGISelEmitter.cpp Make the constant honest. 2007-01-26 23:00:54 +00:00
DAGISelEmitter.h
FileLexer.cpp.cvs Regenerate. 2007-02-06 18:20:07 +00:00
FileLexer.l Deemed too cute to live. 2007-02-06 18:19:44 +00:00
FileLexer.l.cvs Regenerate. 2007-02-06 18:20:07 +00:00
FileParser.cpp.cvs
FileParser.h.cvs
FileParser.y
FileParser.y.cvs
InstrInfoEmitter.cpp Recognize target instruction flag 'isReMaterializable'. 2007-03-19 06:20:37 +00:00
InstrInfoEmitter.h
IntrinsicEmitter.cpp the lengths of the strings are known, just use memcmp 2007-02-15 19:26:16 +00:00
IntrinsicEmitter.h Automatically generating intrinsic declarations from Dan Gohman. Modified 2007-02-07 20:38:26 +00:00
Makefile Set the new NO_INSTALL flag for build-only tools. 2007-02-06 18:51:28 +00:00
Record.cpp reapply 2007-02-27 22:08:27 +00:00
Record.h reapply 2007-02-27 22:08:27 +00:00
RegisterInfoEmitter.cpp emit an enum value for the # of target registers. 2007-02-26 03:34:38 +00:00
RegisterInfoEmitter.h
SubtargetEmitter.cpp
SubtargetEmitter.h
TableGen.cpp reapply 2007-02-27 22:08:27 +00:00
TableGenBackend.cpp
TableGenBackend.h