llvm-6502/test
Lang Hames 1d82537762 X86 vector element shift-by-immediate instructions take i8 immediates. Make
the instruction defenitions and ISEL reflect this.

Prior to this patch these instructions took an i32i8imm, and the high bits were
dropped during encoding. This led to incorrect behavior for shifts by
immediates higher than 255. This patch fixes that issue by detecting large
immediate shifts and returning constant zero (for logical shifts) or capping
the shift amount at an encodable value (for arithmetic shifts).

Fixes <rdar://problem/14968098>



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193096 91177308-0d34-0410-b5e6-96231b3b80d8
2013-10-21 17:51:24 +00:00
..
Analysis SCEV should use NSW to get trip count for positive nonunit stride loops. 2013-10-18 23:43:53 +00:00
Assembler
Bindings/Ocaml
Bitcode
BugPoint
CodeGen X86 vector element shift-by-immediate instructions take i8 immediates. Make 2013-10-21 17:51:24 +00:00
DebugInfo DebugInfo: Hash DW_FORM_GNU_str_index as a string. 2013-10-21 16:37:22 +00:00
ExecutionEngine Fix typo in test's XFAIL line. Patch by Dimitry Andric! 2013-10-21 00:46:21 +00:00
Feature
FileCheck
Instrumentation
Integer
JitListener
Linker
LTO Optimize more linkonce_odr values during LTO. 2013-10-21 17:14:55 +00:00
MC [mips][msa] Direct Object Emission support for LD/ST instructions. 2013-10-21 13:07:13 +00:00
Object
Other
TableGen
tools
Transforms Optimize more linkonce_odr values during LTO. 2013-10-21 17:14:55 +00:00
Unit
Verifier
YAMLParser
CMakeLists.txt
lit.cfg
lit.site.cfg.in
Makefile
Makefile.tests
TestRunner.sh