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

Unified Diff: src/IceTargetLoweringX8632.h

Issue 383303003: Lower casting operations that involve vector types. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Fix formatting changes Created 6 years, 5 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/IceTargetLoweringX8632.h
diff --git a/src/IceTargetLoweringX8632.h b/src/IceTargetLoweringX8632.h
index b2871c024a0aad67feb35500a89a9c40777e2c4f..fa49ed5bbc695a1df1154cd0ed1f4e276a36ec98 100644
--- a/src/IceTargetLoweringX8632.h
+++ b/src/IceTargetLoweringX8632.h
@@ -226,12 +226,33 @@ protected:
void _or(Variable *Dest, Operand *Src0) {
Context.insert(InstX8632Or::create(Func, Dest, Src0));
}
+ void _pand(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Pand::create(Func, Dest, Src0));
+ }
+ void _pcmpeq(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Pcmpeq::create(Func, Dest, Src0));
+ }
+ void _pcmpgt(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Pcmpgt::create(Func, Dest, Src0));
+ }
void _pop(Variable *Dest) {
Context.insert(InstX8632Pop::create(Func, Dest));
}
void _push(Operand *Src0, bool SuppressStackAdjustment = false) {
Context.insert(InstX8632Push::create(Func, Src0, SuppressStackAdjustment));
}
+ void _psll(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Psll::create(Func, Dest, Src0));
+ }
+ void _psra(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Psra::create(Func, Dest, Src0));
+ }
+ void _psub(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Psub::create(Func, Dest, Src0));
+ }
+ void _pxor(Variable *Dest, Operand *Src0) {
+ Context.insert(InstX8632Pxor::create(Func, Dest, Src0));
+ }
void _ret(Variable *Src0 = NULL) {
Context.insert(InstX8632Ret::create(Func, Src0));
}
@@ -284,9 +305,6 @@ protected:
void _xor(Variable *Dest, Operand *Src0) {
Context.insert(InstX8632Xor::create(Func, Dest, Src0));
}
- void _pxor(Variable *Dest, Operand *Src0) {
- Context.insert(InstX8632Pxor::create(Func, Dest, Src0));
- }
bool IsEbpBasedFrame;
size_t FrameSizeLocals;

Powered by Google App Engine
This is Rietveld 408576698