diff options
author | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-04-24 06:03:01 +0000 |
---|---|---|
committer | Stepan Dyatkovskiy <stpworld@narod.ru> | 2014-04-24 06:03:01 +0000 |
commit | 00dcc0f53c36fec51579ced2b933cf3fff6955c5 (patch) | |
tree | 4b7877a0de4020ff4880432b0c41f1a6c5a1c2c6 /llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp | |
parent | dc493cf13baad5543aec8555c25302e2440f2320 (diff) | |
download | bcm5719-llvm-00dcc0f53c36fec51579ced2b933cf3fff6955c5.tar.gz bcm5719-llvm-00dcc0f53c36fec51579ced2b933cf3fff6955c5.zip |
Fix for PR18921, "vmov" part.
Added support for bytes replication feature, so it could be GAS compatible.
E.g. instructions below:
"vmov.i32 d0, 0xffffffff"
"vmvn.i32 d0, 0xabababab"
"vmov.i32 d0, 0xabababab"
"vmov.i16 d0, 0xabab"
are incorrect, but we could deal with such cases.
For first one we should emit:
"vmov.i8 d0, 0xff"
For second one ("vmvn"):
"vmov.i8 d0, 0x54"
For last two instructions it should emit:
"vmov.i8 d0, 0xab"
P.S.: In ARMAsmParser.cpp I have also fixed few nearby style issues in old code.
Just for keeping method bodies in harmony with themselves.
llvm-svn: 207080
Diffstat (limited to 'llvm/lib/ExecutionEngine/JIT/JITMemoryManager.cpp')
0 files changed, 0 insertions, 0 deletions