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

Side by Side Diff: src/IceTargetLoweringX8632.h

Issue 417653004: Lower the select instruction when the operands are of vector type. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Grammar Created 6 years, 4 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 unified diff | Download patch
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===// 1 //===- subzero/src/IceTargetLoweringX8632.h - x86-32 lowering ---*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file declares the TargetLoweringX8632 class, which 10 // This file declares the TargetLoweringX8632 class, which
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 } 293 }
294 void _or(Variable *Dest, Operand *Src0) { 294 void _or(Variable *Dest, Operand *Src0) {
295 Context.insert(InstX8632Or::create(Func, Dest, Src0)); 295 Context.insert(InstX8632Or::create(Func, Dest, Src0));
296 } 296 }
297 void _padd(Variable *Dest, Operand *Src0) { 297 void _padd(Variable *Dest, Operand *Src0) {
298 Context.insert(InstX8632Padd::create(Func, Dest, Src0)); 298 Context.insert(InstX8632Padd::create(Func, Dest, Src0));
299 } 299 }
300 void _pand(Variable *Dest, Operand *Src0) { 300 void _pand(Variable *Dest, Operand *Src0) {
301 Context.insert(InstX8632Pand::create(Func, Dest, Src0)); 301 Context.insert(InstX8632Pand::create(Func, Dest, Src0));
302 } 302 }
303 void _pandn(Variable *Dest, Operand *Src0) {
304 Context.insert(InstX8632Pandn::create(Func, Dest, Src0));
305 }
303 void _pcmpeq(Variable *Dest, Operand *Src0) { 306 void _pcmpeq(Variable *Dest, Operand *Src0) {
304 Context.insert(InstX8632Pcmpeq::create(Func, Dest, Src0)); 307 Context.insert(InstX8632Pcmpeq::create(Func, Dest, Src0));
305 } 308 }
306 void _pcmpgt(Variable *Dest, Operand *Src0) { 309 void _pcmpgt(Variable *Dest, Operand *Src0) {
307 Context.insert(InstX8632Pcmpgt::create(Func, Dest, Src0)); 310 Context.insert(InstX8632Pcmpgt::create(Func, Dest, Src0));
308 } 311 }
309 void _pextrw(Variable *Dest, Operand *Src0, Operand *Src1) { 312 void _pextrw(Variable *Dest, Operand *Src0, Operand *Src1) {
310 Context.insert(InstX8632Pextrw::create(Func, Dest, Src0, Src1)); 313 Context.insert(InstX8632Pextrw::create(Func, Dest, Src0, Src1));
311 } 314 }
312 void _pinsrw(Variable *Dest, Operand *Src0, Operand *Src1) { 315 void _pinsrw(Variable *Dest, Operand *Src0, Operand *Src1) {
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 virtual ~TargetGlobalInitX8632() {} 451 virtual ~TargetGlobalInitX8632() {}
449 }; 452 };
450 453
451 template <> void ConstantInteger::emit(GlobalContext *Ctx) const; 454 template <> void ConstantInteger::emit(GlobalContext *Ctx) const;
452 template <> void ConstantFloat::emit(GlobalContext *Ctx) const; 455 template <> void ConstantFloat::emit(GlobalContext *Ctx) const;
453 template <> void ConstantDouble::emit(GlobalContext *Ctx) const; 456 template <> void ConstantDouble::emit(GlobalContext *Ctx) const;
454 457
455 } // end of namespace Ice 458 } // end of namespace Ice
456 459
457 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H 460 #endif // SUBZERO_SRC_ICETARGETLOWERINGX8632_H
OLDNEW
« no previous file with comments | « src/IceInstX8632.cpp ('k') | src/IceTargetLoweringX8632.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698