Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(409)

Unified Diff: src/IceInstARM32.cpp

Issue 1611293003: Add vcvt.s32.f32 instruction to the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix not. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | tests_lit/assembler/arm32/vcvt.s32.f32.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/IceInstARM32.cpp
diff --git a/src/IceInstARM32.cpp b/src/IceInstARM32.cpp
index 5825e69be5e6a23a28d39522f3978c8136344969..aaeed9cf8058d1d7ec6127f124248f263dbfa7b1 100644
--- a/src/IceInstARM32.cpp
+++ b/src/IceInstARM32.cpp
@@ -1860,6 +1860,9 @@ void InstARM32Vcvt::emit(const Cfg *Func) const {
void InstARM32Vcvt::emitIAS(const Cfg *Func) const {
auto *Asm = Func->getAssembler<ARM32::AssemblerARM32>();
switch (Variant) {
+ case S2si:
+ Asm->vcvtis(getDest(), getSrc(0), getPredicate());
+ break;
case S2d:
Asm->vcvtds(getDest(), getSrc(0), getPredicate());
break;
« no previous file with comments | « src/IceAssemblerARM32.cpp ('k') | tests_lit/assembler/arm32/vcvt.s32.f32.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698