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

Side by Side Diff: src/IceInstX8664.cpp

Issue 1909013002: Subzero. X86. Lowers shufflevector using xmm instructions. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses comments. 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 unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceInstX8664.cpp - X86-64 instruction implementation ---===// 1 //===- subzero/src/IceInstX8664.cpp - X86-64 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 /// \file 10 /// \file
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 TargetX8664Traits::InstCmppsAttributes[] = { 44 TargetX8664Traits::InstCmppsAttributes[] = {
45 #define X(val, emit) \ 45 #define X(val, emit) \
46 { emit } \ 46 { emit } \
47 , 47 ,
48 ICEINSTX8664CMPPS_TABLE 48 ICEINSTX8664CMPPS_TABLE
49 #undef X 49 #undef X
50 }; 50 };
51 51
52 const TargetX8664Traits::TypeAttributesType 52 const TargetX8664Traits::TypeAttributesType
53 TargetX8664Traits::TypeAttributes[] = { 53 TargetX8664Traits::TypeAttributes[] = {
54 #define X(tag, elementty, cvt, sdss, pdps, spsd, pack, width, fld) \ 54 #define X(tag, elementty, cvt, sdss, pdps, spsd, pack, unpack, width, fld) \
55 { cvt, sdss, pdps, spsd, pack, width, fld } \ 55 { cvt, sdss, pdps, spsd, pack, unpack, width, fld } \
56 , 56 ,
57 ICETYPEX8664_TABLE 57 ICETYPEX8664_TABLE
58 #undef X 58 #undef X
59 }; 59 };
60 60
61 void TargetX8664Traits::X86Operand::dump(const Cfg *, Ostream &Str) const { 61 void TargetX8664Traits::X86Operand::dump(const Cfg *, Ostream &Str) const {
62 if (BuildDefs::dump()) 62 if (BuildDefs::dump())
63 Str << "<OperandX8664>"; 63 Str << "<OperandX8664>";
64 } 64 }
65 65
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 Var->dump(Func); 353 Var->dump(Func);
354 else 354 else
355 Var->dump(Str); 355 Var->dump(Str);
356 Str << ")"; 356 Str << ")";
357 } 357 }
358 358
359 } // namespace X8664 359 } // namespace X8664
360 } // end of namespace Ice 360 } // end of namespace Ice
361 361
362 X86INSTS_DEFINE_STATIC_DATA(X8664, X8664::Traits) 362 X86INSTS_DEFINE_STATIC_DATA(X8664, X8664::Traits)
OLDNEW
« no previous file with comments | « src/IceInstX8632.def ('k') | src/IceInstX8664.def » ('j') | src/IceTargetLoweringX86BaseImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698