llvm-6502/utils
Scott Michel 0123b7dcfa Make tblgen a little smarter about constants smaller than i32. Currently,
tblgen will complain if a sign-extended constant does not fit into a
data type smaller than i32, e.g., i16. This causes a problem when certain
hex constants are used, such as 0xff for byte masks or immediate xor
values.

tblgen will try the sign-extended value first and, if the sign extended
value would overflow, it tries to see if the unsigned value will fit.
Consequently, a software developer can now safely incant:

	(XORHIr16 R16C:$rA, 0xffff)

which is somewhat clearer and more informative than incanting:

	(XORHIr16 R16C:$rA, (i16 -1))

even if the two are bitwise equivalent.

Tblgen also outputs the 64-bit unsigned constant in the generated ISel code
when getTargetConstant() is invoked.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47188 91177308-0d34-0410-b5e6-96231b3b80d8
2008-02-15 23:05:48 +00:00
..
buildit Remove dead code. 2008-02-12 18:20:50 +00:00
emacs Modified to support comments better. 2007-12-19 06:20:05 +00:00
fpcmp remove attributions from utils. 2007-12-29 20:37:13 +00:00
PerfectShuffle remove attributions from utils. 2007-12-29 20:37:13 +00:00
TableGen Make tblgen a little smarter about constants smaller than i32. Currently, 2008-02-15 23:05:48 +00:00
vim Update this file for 2.0 syntax. 2008-01-29 12:35:50 +00:00
cgiplotNLT.pl
check-each-file
codegen-diff
countloc.sh remove attributions from utils. 2007-12-29 20:37:13 +00:00
DSAclean.py
DSAextract.py
findmisopt Make use of the llvm-ld tool's new ability to read input from stdin to extract 2007-08-13 06:19:51 +00:00
findoptdiff
findsym.pl
GenLibDeps.pl Added special support for stripping CRLF characters that may appear in the 2007-12-24 08:04:39 +00:00
getsrcs.sh remove attributions from utils. 2007-12-29 20:37:13 +00:00
importNLT.pl
llvm-native-gcc
llvm-native-gxx
llvmdo remove attributions from utils. 2007-12-29 20:37:13 +00:00
llvmgrep remove attributions from utils. 2007-12-29 20:37:13 +00:00
Makefile remove attributions from tools/utils makefiles. 2007-12-29 20:07:17 +00:00
makellvm
mkpatch Fixing some differences between CVS and SVN diff'ing. Reid fixed these already, 2007-07-20 17:21:54 +00:00
NewNightlyTest.pl Need a space to separate Make options. 2008-01-14 17:58:03 +00:00
NightlyTest.gnuplot
NightlyTestTemplate.html
NLT.schema Test modified svn mailer 2007-07-03 21:57:50 +00:00
OldenDataRecover.pl
parseNLT.pl
plotNLT.pl
profile.pl update this to use llvm-config, patch by Jose M. Moya 2007-09-11 17:09:54 +00:00
RegressionFinder.pl
userloc.pl
webNLT.pl