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

Side by Side Diff: src/IceInstX86Base.h

Issue 1311653003: Add UBSAN build option and fix undefined behaviour errors. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Neater way to set Target_Max Created 5 years, 3 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/IceInstX86Base.h - Generic x86 instructions -*- C++ -*--===// 1 //===- subzero/src/IceInstX86Base.h - Generic x86 instructions -*- 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 /// \file 10 /// \file
(...skipping 19 matching lines...) Expand all
30 30
31 template <class Machine> class InstX86Base : public InstTarget { 31 template <class Machine> class InstX86Base : public InstTarget {
32 InstX86Base<Machine>() = delete; 32 InstX86Base<Machine>() = delete;
33 InstX86Base<Machine>(const InstX86Base &) = delete; 33 InstX86Base<Machine>(const InstX86Base &) = delete;
34 InstX86Base &operator=(const InstX86Base &) = delete; 34 InstX86Base &operator=(const InstX86Base &) = delete;
35 35
36 public: 36 public:
37 using Traits = MachineTraits<Machine>; 37 using Traits = MachineTraits<Machine>;
38 38
39 enum InstKindX86 { 39 enum InstKindX86 {
40 k__Start = Inst::Target, 40 k__Start = Inst::Target0,
41 Adc, 41 Adc,
42 AdcRMW, 42 AdcRMW,
43 Add, 43 Add,
44 AddRMW, 44 AddRMW,
45 Addps, 45 Addps,
46 Addss, 46 Addss,
47 Adjuststack, 47 Adjuststack,
48 And, 48 And,
49 AndRMW, 49 AndRMW,
50 Blendvps, 50 Blendvps,
(...skipping 3157 matching lines...) Expand 10 before | Expand all | Expand 10 after
3208 &InstX86Base<Machine>::Traits::Assembler::psrl}; \ 3208 &InstX86Base<Machine>::Traits::Assembler::psrl}; \
3209 } \ 3209 } \
3210 } 3210 }
3211 3211
3212 } // end of namespace X86Internal 3212 } // end of namespace X86Internal
3213 } // end of namespace Ice 3213 } // end of namespace Ice
3214 3214
3215 #include "IceInstX86BaseImpl.h" 3215 #include "IceInstX86BaseImpl.h"
3216 3216
3217 #endif // SUBZERO_SRC_ICEINSTX86BASE_H 3217 #endif // SUBZERO_SRC_ICEINSTX86BASE_H
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698