- Dec 21, 2011
-
-
Rafael Espindola authored
avoid including ADT/Triple.h in many places when the target specific bits are moved. llvm-svn: 147059
-
Akira Hatanaka authored
The patch and test case were originally written by Mans Rullgard. llvm-svn: 147024
-
Akira Hatanaka authored
case for DCLO and DCLZ. llvm-svn: 147022
-
Akira Hatanaka authored
llvm-svn: 147021
-
Akira Hatanaka authored
llvm-svn: 147019
-
Akira Hatanaka authored
DSHD (Double Swap Halfwords within Doublewords). Add a pattern which replaces 64-bit bswap with a DSBH and DSHD pair. llvm-svn: 147017
-
Akira Hatanaka authored
instruction supported by mips32r2, and add a pattern which replaces bswap with a ROTR and WSBH pair. WSBW is removed since it is not an instruction the current architectures support. llvm-svn: 147015
-
Akira Hatanaka authored
llvm-svn: 147014
-
Akira Hatanaka authored
llvm-svn: 147013
-
Akira Hatanaka authored
llvm-svn: 147012
-
Akira Hatanaka authored
nodes needed for multiplication. Add code for selecting 64-bit MULHS and MULHU nodes. llvm-svn: 147008
-
- Dec 20, 2011
-
-
Akira Hatanaka authored
llvm-svn: 147007
-
Akira Hatanaka authored
llvm-svn: 147005
-
Akira Hatanaka authored
llvm-svn: 147004
-
Akira Hatanaka authored
llvm-svn: 147003
-
Akira Hatanaka authored
only when the target ABI is N64. llvm-svn: 147001
-
Akira Hatanaka authored
MIPS64 can generate constant +0.0 with a single DMTC1 instruction. llvm-svn: 146999
-
Akira Hatanaka authored
llvm-svn: 146996
-
Akira Hatanaka authored
llvm-svn: 146995
-
Akira Hatanaka authored
only when the target ABI is N64. llvm-svn: 146992
-
Chandler Carruth authored
likely to stay either way that discussion ends up resolving itself. llvm-svn: 146966
-
-
- Dec 19, 2011
-
-
Akira Hatanaka authored
patterns emit a single LUi instruction instead of a pair of LUi and ORi. llvm-svn: 146900
-
Akira Hatanaka authored
llvm-svn: 146896
-
Akira Hatanaka authored
direct-object emitter should emit the appropriate shift instruction depending on the shift amount. llvm-svn: 146893
-
Akira Hatanaka authored
llvm-svn: 146889
-
Akira Hatanaka authored
This change reduces the number of instructions generated. For example, (load (add (sub $n0, $n1), (MipsLo got(s)))) results in the following sequence of instructions: 1. sub $n2, $n0, $n1 2. lw got(s)($n2) Previously, three instructions were needed. 1. sub $n2, $n0, $n1 2. addiu $n3, $n2, got(s) 3. lw 0($n3) llvm-svn: 146888
-
- Dec 14, 2011
-
-
Akira Hatanaka authored
emission is not supported yet, but a patch that adds the support should follow soon. llvm-svn: 146572
-
- Dec 13, 2011
-
-
Akira Hatanaka authored
in a 16-bit field. llvm-svn: 146469
-
Chandler Carruth authored
undefined result. This adds new ISD nodes for the new semantics, selecting them when the LLVM intrinsic indicates that the undef behavior is desired. The new nodes expand trivially to the old nodes, so targets don't actually need to do anything to support these new nodes besides indicating that they should be expanded. I've done this for all the operand types that I could figure out for all the targets. Owners of various targets, please review and let me know if any of these are incorrect. Note that the expand behavior is *conservatively correct*, and exactly matches LLVM's current behavior with these operations. Ideally this patch will not change behavior in any way. For example the regtest suite finds the exact same instruction sequences coming out of the code generator. That's why there are no new tests here -- all of this is being exercised by the existing test suite. Thanks to Duncan Sands for reviewing the various bits of this patch and helping me get the wrinkles ironed out with expanding for each target. Also thanks to Chris for clarifying through all the discussions that this is indeed the approach he was looking for. That said, there are likely still rough spots. Further review much appreciated. llvm-svn: 146466
-
- Dec 12, 2011
-
-
Daniel Dunbar authored
subdirectories to traverse into. - Originally I wanted to avoid this and just autoscan, but this has one key flaw in that new subdirectories can not automatically trigger a rerun of the llvm-build tool. This is particularly a pain when switching back and forth between trees where one has added a subdirectory, as the dependencies will tend to be wrong. This will also eliminates FIXME implicitly. llvm-svn: 146436
-
Akira Hatanaka authored
-relocation-model=static. llvm-svn: 146432
-
Akira Hatanaka authored
llvm-svn: 146431
-
Daniel Dunbar authored
llvm-svn: 146409
-
- Dec 11, 2011
-
-
Benjamin Kramer authored
llvm-svn: 146340
-
- Dec 09, 2011
-
-
Akira Hatanaka authored
llvm-svn: 146232
-
Akira Hatanaka authored
specified. llvm-svn: 146229
-
- Dec 08, 2011
-
-
Akira Hatanaka authored
MipsTargetLowering::LowerGlobalTLSAddress. This is necessary to have call16(__tls_get_addr) emitted instead of got_disp(__tls_get_addr) when the target is Mips64. llvm-svn: 146183
-
Akira Hatanaka authored
- Modify lowering of global TLS address nodes. - Modify isel of ThreadPointer. - Wrap target global TLS address nodes that are operands of loads with WrapperPIC. - Remove Mips-specific DAG nodes TlsGd, TprelHi and TprelLo, which can be substituted with other existing nodes. llvm-svn: 146175
-
Akira Hatanaka authored
RDHWR. llvm-svn: 146101
-