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

Unified Diff: src/IceTargetLoweringX86Base.h

Issue 1531623007: Add option to force filetype=asm for testing (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Formatting Created 5 years 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/IceTargetLoweringX86Base.h
diff --git a/src/IceTargetLoweringX86Base.h b/src/IceTargetLoweringX86Base.h
index bf430727f1524501dc6d44af1c41687f99a7a189..666f53edd6732bf99eafb3ad31527a3f17ee07e0 100644
--- a/src/IceTargetLoweringX86Base.h
+++ b/src/IceTargetLoweringX86Base.h
@@ -547,8 +547,9 @@ protected:
void _pblendvb(Variable *Dest, Operand *Src0, Operand *Src1) {
Context.insert<typename Traits::Insts::Pblendvb>(Dest, Src0, Src1);
}
- void _pcmpeq(Variable *Dest, Operand *Src0) {
- Context.insert<typename Traits::Insts::Pcmpeq>(Dest, Src0);
+ void _pcmpeq(Variable *Dest, Operand *Src0,
+ Type ArithmeticType = IceType_void) {
Jim Stichnoth 2015/12/20 18:42:23 rename parameter to ArithmeticTypeOverride ?
sehr 2016/01/07 18:53:12 Done.
+ Context.insert<typename Traits::Insts::Pcmpeq>(Dest, Src0, ArithmeticType);
}
void _pcmpgt(Variable *Dest, Operand *Src0) {
Context.insert<typename Traits::Insts::Pcmpgt>(Dest, Src0);

Powered by Google App Engine
This is Rietveld 408576698