aboutsummaryrefslogtreecommitdiffstats
path: root/lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2011-11-08 12:47:11 +0000
committerStephen Hines <srhines@google.com>2011-11-14 09:12:00 -0800
commitcf81b6149036a370292475699044054a1ca03a06 (patch)
treeea1c6ae90416d36b669a22279c8265913add4794 /lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp
parente4b800b5a2b91b1ba008aba6af93cebea9e18676 (diff)
downloadexternal_llvm-cf81b6149036a370292475699044054a1ca03a06.zip
external_llvm-cf81b6149036a370292475699044054a1ca03a06.tar.gz
external_llvm-cf81b6149036a370292475699044054a1ca03a06.tar.bz2
This patch handles unaligned loads and stores in Mips JIT. Mips backend
implements unaligned loads and stores with assembler macro-instructions ulw, usw, ulh, ulhu, ush, and this patch emits corresponding instructions instead of these macros. Since each unaligned load/store is expanded into two corresponding loads/stores where offset for second load/store is modified by +3 (for words) or +1 (for halfwords). Patch by Petar Jovanovic and Sasa Stankovic. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp')
0 files changed, 0 insertions, 0 deletions