LLVM backend for 6502
Go to file
Chris Lattner f2369f2042 when we see a unaligned load from an insufficiently aligned global or
alloca, increase the alignment of the load, turning it into an aligned load.

This allows us to compile:

#include <xmmintrin.h>
__m128i foo(__m128i x){
 static const unsigned int c_0[4] = { 0, 0, 0, 0 };
	  __m128i v_Zero = _mm_loadu_si128((__m128i*)c_0);
  x  = _mm_unpacklo_epi8(x,  v_Zero);
  return x;
}

into:

_foo:
	punpcklbw	_c_0.5944, %xmm0
	ret
	.data
	.lcomm	_c_0.5944,16,4		# c_0.5944

instead of:

_foo:
	movdqu	_c_0.5944, %xmm1
	punpcklbw	%xmm1, %xmm0
	ret
	.data
	.lcomm	_c_0.5944,16,2		# c_0.5944



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40971 91177308-0d34-0410-b5e6-96231b3b80d8
2007-08-09 19:05:49 +00:00
autoconf Add detection of __dso_handle presence during configure. Use this information in the 2007-07-30 20:02:02 +00:00
docs Who thought up this crazy formatting scheme? 2007-08-07 17:57:36 +00:00
examples Here is the bulk of the sanitizing. 2007-07-05 17:07:56 +00:00
include Update per review comments. 2007-08-09 17:27:48 +00:00
lib when we see a unaligned load from an insufficiently aligned global or 2007-08-09 19:05:49 +00:00
projects Convert .cvsignore files 2007-06-29 16:35:07 +00:00
runtime crtend is only for llvm-gcc3, remove it. 2007-02-23 19:34:09 +00:00
test when we see a unaligned load from an insufficiently aligned global or 2007-08-09 19:05:49 +00:00
tools Separate program name from error message with a : 2007-08-08 21:19:01 +00:00
utils This resolves a regression of BasicAA which failed to find any memory information for overloaded intrinsics (PR1600). This resolves that issue, and improves the matching scheme to use a BitVector rather than a binary search. 2007-08-06 20:57:16 +00:00
website Prepare for "core" website. 2007-08-03 05:43:35 +00:00
win32 Updates to the VStudio project files: 2007-07-27 18:20:11 +00:00
Xcode Update project 2007-01-29 18:45:08 +00:00
build-for-llvm-top.sh Update for changes in library.sh 2007-07-21 09:33:41 +00:00
configure Regenerate for __dso_handle, per Anton's request. 2007-07-30 20:13:24 +00:00
CREDITS.TXT Record my recent work. 2007-07-05 16:56:24 +00:00
LICENSE.TXT bzip2 is gone 2007-05-06 23:18:44 +00:00
llvm.spec.in * llvm.spec.in: update blurb 2007-07-13 09:48:29 +00:00
Makefile Get rid of annoying spaces. 2007-07-11 23:44:08 +00:00
Makefile.common Update comments to reflect new variable names. Patch contributed by 2005-02-14 16:02:19 +00:00
Makefile.config.in Change the place where man pages are installed to ${prefix}/share/man1. This 2007-07-03 23:04:11 +00:00
Makefile.rules Restore ability to build archives (oops) 2007-07-23 08:20:46 +00:00
ModuleInfo.txt Update to include clean and install commands. 2007-07-20 20:54:41 +00:00
README.txt test 2007-04-20 20:49:25 +00:00

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.