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

Unified Diff: src/IceTargetLoweringARM32.h

Issue 1878943009: Subzero. ARM32. Vector casts. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds vcvt assembler lit tests. Created 4 years, 8 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
Index: src/IceTargetLoweringARM32.h
diff --git a/src/IceTargetLoweringARM32.h b/src/IceTargetLoweringARM32.h
index 9e15b3e57d8bd41c37ee59eaea9251c25a482cfe..9d2b760f20fcbfc6ab4da64af7de690a17cef713 100644
--- a/src/IceTargetLoweringARM32.h
+++ b/src/IceTargetLoweringARM32.h
@@ -894,6 +894,14 @@ protected:
InstARM32Vshl *_vshl(Variable *Dest, Variable *Src0, Variable *Src1) {
return Context.insert<InstARM32Vshl>(Dest, Src0, Src1);
}
+ void _vshl(Variable *Dest, Variable *Src0, ConstantInteger32 *Src1) {
+ Context.insert<InstARM32Vshl>(Dest, Src0, Src1)
+ ->setSignType(InstARM32::FS_Unsigned);
+ }
+ InstARM32Vshr *_vshr(Variable *Dest, Variable *Src0,
+ ConstantInteger32 *Src1) {
+ return Context.insert<InstARM32Vshr>(Dest, Src0, Src1);
+ }
void _vsqrt(Variable *Dest, Variable *Src,
CondARM32::Cond Pred = CondARM32::AL) {
Context.insert<InstARM32Vsqrt>(Dest, Src, Pred);

Powered by Google App Engine
This is Rietveld 408576698