LLVM backend for 6502
Go to file
Chris Lattner 97a29a5fee optimize the case of cond ? 42 : 41 and friends. This compiles the
example to:

_test:
	movl	4(%esp), %eax
	cmpl	$41, (%eax)
	setg	%al
	movzbl	%al, %eax
	orl	$4294967294, %eax
	ret

instead of:

        movl    4(%esp), %eax
        cmpl    $41, (%eax)
	movl	$4294967294, %ecx
	movl	$4294967295, %eax
	cmova	%ecx, %eax
	ret

which is smaller in code size and faster. rdar://6668608



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66868 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 05:22:11 +00:00
autoconf Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
bindings Fix a parallel make race condition by swapping the order of -I directories. 2009-03-06 00:00:58 +00:00
cmake Remove configurey-fu to autodetect hash_map and hash_set now that they are 2009-03-09 06:16:26 +00:00
docs add some text to explain sentinels 2009-03-12 10:30:31 +00:00
examples
include Oops...I committed too much. 2009-03-13 04:39:26 +00:00
lib optimize the case of cond ? 42 : 41 and friends. This compiles the 2009-03-13 05:22:11 +00:00
projects CMake: auto-discover project files under the projects/ subdirectory. 2009-03-06 01:16:52 +00:00
runtime Drop toy GC runtime. 2009-03-02 03:46:48 +00:00
test optimize the case of cond ? 42 : 41 and friends. This compiles the 2009-03-13 05:22:11 +00:00
tools Also pass -gcc-tool-args when building a shared object. 2009-03-12 00:53:34 +00:00
unittests Remove libtool. 2009-02-26 07:44:16 +00:00
utils Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory 2009-03-12 19:47:24 +00:00
website
win32 Update hand-crafted VC++ build. 2009-02-02 19:22:02 +00:00
Xcode
build-for-llvm-top.sh Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
CMakeLists.txt CMake: auto-discover project files under the projects/ subdirectory. 2009-03-06 01:16:52 +00:00
configure Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
CREDITS.TXT
LICENSE.TXT Another great year for LLVM! 2009-02-26 15:17:13 +00:00
llvm.spec.in
Makefile Remove configurey-fu to autodetect hash_map and hash_set now that they are 2009-03-09 06:16:26 +00:00
Makefile.common
Makefile.config.in Autodetect the availability of -export-dynamic in the linker. 2009-03-05 08:20:21 +00:00
Makefile.rules Darwin 10.4.x: "-rpath" is unnecessary when linking shared libraries. 2009-03-12 21:03:53 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.