LLVM backend for 6502
Go to file
Chris Lattner cee56e7d33 generalize the previous code to use the full generality of LEA
for i32/i64 expressions (we could also do i16 on cpus where
i16 lea is fast, but I didn't add this).  On the example, we now
generate:

_test:
	movl	4(%esp), %eax
	cmpl	$42, (%eax)
	setl	%al
	movzbl	%al, %eax
	leal	4(%eax,%eax,8), %eax
	ret

instead of:

_test:
	movl	4(%esp), %eax
	cmpl	$41, (%eax)
	movl	$4, %ecx
	movl	$13, %eax
	cmovg	%ecx, %eax
	ret



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66869 91177308-0d34-0410-b5e6-96231b3b80d8
2009-03-13 05:53:31 +00:00
autoconf Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
bindings
cmake
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 generalize the previous code to use the full generality of LEA 2009-03-13 05:53:31 +00:00
projects
runtime
test generalize the previous code to use the full generality of LEA 2009-03-13 05:53:31 +00:00
tools Also pass -gcc-tool-args when building a shared object. 2009-03-12 00:53:34 +00:00
unittests
utils Fix an inconsistent use of LLVMGCCDIR. In all other cases, this directory 2009-03-12 19:47:24 +00:00
website
win32
Xcode
build-for-llvm-top.sh
CMakeLists.txt
configure Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in
Makefile.rules Darwin 10.4.x: "-rpath" is unnecessary when linking shared libraries. 2009-03-12 21:03:53 +00:00
ModuleInfo.txt
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.