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

Side by Side Diff: src/IceInstX8632.cpp

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: Address Jim's comments 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 unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceInstX8632.cpp - X86-32 instruction implementation ---===// 1 //===- subzero/src/IceInstX8632.cpp - X86-32 instruction implementation ---===//
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 implements the InstX8632 and OperandX8632 classes, 10 // This file implements the InstX8632 and OperandX8632 classes,
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 template <> const char *InstX8632Adc::Opcode = "adc"; 451 template <> const char *InstX8632Adc::Opcode = "adc";
452 template <> const char *InstX8632Addss::Opcode = "addss"; 452 template <> const char *InstX8632Addss::Opcode = "addss";
453 template <> const char *InstX8632Padd::Opcode = "padd"; 453 template <> const char *InstX8632Padd::Opcode = "padd";
454 template <> const char *InstX8632Sub::Opcode = "sub"; 454 template <> const char *InstX8632Sub::Opcode = "sub";
455 template <> const char *InstX8632Subps::Opcode = "subps"; 455 template <> const char *InstX8632Subps::Opcode = "subps";
456 template <> const char *InstX8632Subss::Opcode = "subss"; 456 template <> const char *InstX8632Subss::Opcode = "subss";
457 template <> const char *InstX8632Sbb::Opcode = "sbb"; 457 template <> const char *InstX8632Sbb::Opcode = "sbb";
458 template <> const char *InstX8632Psub::Opcode = "psub"; 458 template <> const char *InstX8632Psub::Opcode = "psub";
459 template <> const char *InstX8632And::Opcode = "and"; 459 template <> const char *InstX8632And::Opcode = "and";
460 template <> const char *InstX8632Pand::Opcode = "pand"; 460 template <> const char *InstX8632Pand::Opcode = "pand";
461 template <> const char *InstX8632Pandn::Opcode = "pandn";
461 template <> const char *InstX8632Or::Opcode = "or"; 462 template <> const char *InstX8632Or::Opcode = "or";
462 template <> const char *InstX8632Por::Opcode = "por"; 463 template <> const char *InstX8632Por::Opcode = "por";
463 template <> const char *InstX8632Xor::Opcode = "xor"; 464 template <> const char *InstX8632Xor::Opcode = "xor";
464 template <> const char *InstX8632Pxor::Opcode = "pxor"; 465 template <> const char *InstX8632Pxor::Opcode = "pxor";
465 template <> const char *InstX8632Imul::Opcode = "imul"; 466 template <> const char *InstX8632Imul::Opcode = "imul";
466 template <> const char *InstX8632Mulps::Opcode = "mulps"; 467 template <> const char *InstX8632Mulps::Opcode = "mulps";
467 template <> const char *InstX8632Mulss::Opcode = "mulss"; 468 template <> const char *InstX8632Mulss::Opcode = "mulss";
468 template <> const char *InstX8632Pmullw::Opcode = "pmullw"; 469 template <> const char *InstX8632Pmullw::Opcode = "pmullw";
469 template <> const char *InstX8632Pmuludq::Opcode = "pmuludq"; 470 template <> const char *InstX8632Pmuludq::Opcode = "pmuludq";
470 template <> const char *InstX8632Div::Opcode = "div"; 471 template <> const char *InstX8632Div::Opcode = "div";
(...skipping 895 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 default: 1367 default:
1367 Str << "???"; 1368 Str << "???";
1368 break; 1369 break;
1369 } 1370 }
1370 Str << "("; 1371 Str << "(";
1371 Var->dump(Func); 1372 Var->dump(Func);
1372 Str << ")"; 1373 Str << ")";
1373 } 1374 }
1374 1375
1375 } // end of namespace Ice 1376 } // end of namespace Ice
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698