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

Side by Side Diff: src/IceInstX8664.cpp

Issue 1497033002: Fuse icmp/fcmp with select (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes. 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 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 MachineTraits<TargetX8664>::InstCmppsAttributes[] = { 44 MachineTraits<TargetX8664>::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 MachineTraits<TargetX8664>::TypeAttributesType 52 const MachineTraits<TargetX8664>::TypeAttributesType
53 MachineTraits<TargetX8664>::TypeAttributes[] = { 53 MachineTraits<TargetX8664>::TypeAttributes[] = {
54 #define X(tag, elementty, cvt, sdss, pack, width, fld) \ 54 #define X(tag, elementty, cvt, sdss, pdps, spsd, pack, width, fld) \
55 { cvt, sdss, pack, width, fld } \ 55 { cvt, sdss, pdps, spsd, pack, width, fld } \
56 , 56 ,
57 ICETYPEX8664_TABLE 57 ICETYPEX8664_TABLE
58 #undef X 58 #undef X
59 }; 59 };
60 60
61 void MachineTraits<TargetX8664>::X86Operand::dump(const Cfg *, 61 void MachineTraits<TargetX8664>::X86Operand::dump(const Cfg *,
62 Ostream &Str) const { 62 Ostream &Str) const {
63 if (BuildDefs::dump()) 63 if (BuildDefs::dump())
64 Str << "<OperandX8664>"; 64 Str << "<OperandX8664>";
65 } 65 }
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 Var->dump(Func); 252 Var->dump(Func);
253 else 253 else
254 Var->dump(Str); 254 Var->dump(Str);
255 Str << ")"; 255 Str << ")";
256 } 256 }
257 257
258 } // namespace X86Internal 258 } // namespace X86Internal
259 } // end of namespace Ice 259 } // end of namespace Ice
260 260
261 X86INSTS_DEFINE_STATIC_DATA(TargetX8664) 261 X86INSTS_DEFINE_STATIC_DATA(TargetX8664)
OLDNEW
« no previous file with comments | « src/IceInstX8632.def ('k') | src/IceInstX8664.def » ('j') | src/IceInstX86BaseImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698