Krzysztof Parzyszek
2af5037d34
[Hexagon] Use automatically-generated scheduling information for HVX
...
Patch by Jyotsna Verma.
llvm-svn: 302073
2017-05-03 20:10:36 +00:00
Krzysztof Parzyszek
32e20b80c6
[Hexagon] Formatting changes, NFC
...
llvm-svn: 301953
2017-05-02 18:09:07 +00:00
Krzysztof Parzyszek
b0af1ef741
[Hexagon] Make sure duplexed dealloc_returns are checked for double jumps
...
Patch by Colin LeMahieu.
llvm-svn: 301951
2017-05-02 18:03:08 +00:00
Krzysztof Parzyszek
49f7e0a98b
[Hexagon] Move checking AXOK to checker
...
Patch by Colin LeMahieu.
llvm-svn: 301949
2017-05-02 18:00:37 +00:00
Krzysztof Parzyszek
57f5046b4a
[Hexagon] Remove unneeded code from HexagonShuffler
...
Patch by Colin LeMahieu.
llvm-svn: 301947
2017-05-02 17:58:52 +00:00
Krzysztof Parzyszek
4a1c3f0aaa
[Hexagon] Replace CVI_VM_CUR_LD type with CVI_VM_LD
...
A .cur instruction can be identified by checking isCVINew() && mayLoad().
Patch by Colin LeMahieu.
llvm-svn: 301829
2017-05-01 20:16:35 +00:00
Krzysztof Parzyszek
e12d1e70cb
[Hexagon] Improve shuffle error reporting
...
Patch by Colin LeMahieu.
llvm-svn: 301823
2017-05-01 19:41:43 +00:00
Colin LeMahieu
ddebad956e
[Hexagon] Updating inline saturate lanes for v62 version.
...
llvm-svn: 297920
2017-03-16 00:35:28 +00:00
Krzysztof Parzyszek
a72fad980c
[Hexagon] Replace instruction definitions with auto-generated ones
...
llvm-svn: 294753
2017-02-10 15:33:13 +00:00
Krzysztof Parzyszek
5ea971ced5
[Hexagon] Update instruction types
...
Remove TypeXTYPE, TypeALU32, TypeSYSTEM, TypeJR, and instead use their
architecture counterparts.
Patch by Colin LeMahieu.
llvm-svn: 294321
2017-02-07 17:47:37 +00:00
Krzysztof Parzyszek
0605f3fddd
[Hexagon] Address ASAN and UBSAN failures after r294226
...
Reinstate r294256 with a fix.
llvm-svn: 294269
2017-02-07 02:31:53 +00:00
Krzysztof Parzyszek
becf0a362a
Revert "[Hexagon] Address ASAN and UBSAN failures after r294226"
...
This reverts commit r294256. It seems to be causing more problems instead
of solving them.
llvm-svn: 294259
2017-02-06 23:30:17 +00:00
Krzysztof Parzyszek
35a7838954
[Hexagon] Address ASAN and UBSAN failures after r294226
...
llvm-svn: 294256
2017-02-06 23:11:32 +00:00
Krzysztof Parzyszek
8cdfe8ecf3
[Hexagon] Update MCTargetDesc
...
Changes include:
- Updates to the instruction descriptor flags.
- Improvements to the packet shuffler and checker.
- Updates to the handling of certain relocations.
- Better handling of duplex instructions.
llvm-svn: 294226
2017-02-06 19:35:46 +00:00
Colin LeMahieu
c69f7ff6c0
[Hexagon] Adding change of flow max 1 (cofMax1) TS flag for marking this restriction rather than implying it from TypeJR.
...
llvm-svn: 283665
2016-10-08 17:18:51 +00:00
Colin LeMahieu
9694825d32
[Hexagon][NFC] Using documented instruction type name V4LDST instead of MEMOP.
...
llvm-svn: 283582
2016-10-07 19:11:28 +00:00
Justin Bogner
b03fd12cef
Replace "fallthrough" comments with LLVM_FALLTHROUGH
...
This is a mechanical change of comments in switches like fallthrough,
fall-through, or fall-thru to use the LLVM_FALLTHROUGH macro instead.
llvm-svn: 278902
2016-08-17 05:10:15 +00:00
Tobias Edler von Koch
ccd3bfc3c8
[Hexagon] Replace a static member variable in HexagonCVIResource (NFC)
...
This creates one instance of TUL per HexagonShuffler, which avoids thread-safety
issues with future changes.
llvm-svn: 257215
2016-01-08 22:07:25 +00:00
Colin LeMahieu
15ca65c253
[Hexagon] Adding shuffling resources for HVX instructions and tests for instruction encodings.
...
llvm-svn: 254652
2015-12-03 21:44:28 +00:00
Benjamin Kramer
039b10423a
Put global classes into the appropriate namespace.
...
Most of the cases belong into an anonymous namespace. No
functionality change intended.
llvm-svn: 251515
2015-10-28 13:54:36 +00:00
Justin Bogner
aa315fbb4c
Hexagon: Paper over the undefined behaviour introduced by r238692
...
This stops shifting a 32-bit value by such absurd amounts as 96 and
120. We do this by dropping a call to the function that was doing this
entirely, which rather surprisingly doesn't break *any* tests.
I've also added an assert in the misbehaving function to prove that
it's no longer being called with completely invalid arguments.
This change looks pretty bogus and we should probably be reverting
r238692 instead, but this is hard to do with the number of follow ups
that have happened since. It can't be any worse than the undefined
behaviour that was happening before though.
llvm-svn: 240526
2015-06-24 07:03:07 +00:00
Colin LeMahieu
b23c47bab3
[Hexagon] Adding MC packet shuffler.
...
llvm-svn: 238692
2015-05-31 21:57:09 +00:00