| OLD | NEW |
| 1 //===- subzero/src/IceInstX8632.h - x86-32 machine instructions -*- C++ -*-===// | 1 //===- subzero/src/IceInstX8664.h - x86-64 machine 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 |
| 11 /// This file used to house all the X8632 instructions. Subzero has been | 11 /// This file used to house all the X8664 instructions. Subzero has been |
| 12 /// modified to use templates for X86 instructions, so all those definitions are | 12 /// modified to use templates for X86 instructions, so all those definitions are |
| 13 /// are in IceInstX86Base.h | 13 /// are in IceInstX86Base.h |
| 14 /// | 14 /// |
| 15 /// When interacting with the X8632 target (which should only happen in the | 15 /// When interacting with the X8664 target (which should only happen in the |
| 16 /// X8632 TargetLowering) clients have should use the Ice::X8632::Traits::Insts | 16 /// X8664 TargetLowering) clients have should use the Ice::X8664::Traits::Insts |
| 17 /// traits, which hides all the template verboseness behind a type alias. | 17 /// traits, which hides all the template verboseness behind a type alias. |
| 18 /// | 18 /// |
| 19 /// For example, to create an X8632 MOV Instruction, clients should do | 19 /// For example, to create an X8664 MOV Instruction, clients should do |
| 20 /// | 20 /// |
| 21 /// ::Ice::X8632::Traits::Insts::Mov::create | 21 /// ::Ice::X8664::Traits::Insts::Mov::create |
| 22 /// | |
| 23 /// In the future, this file might be used to declare X8632 specific | |
| 24 /// instructions (e.g., FLD, and FSTP.) | |
| 25 /// | 22 /// |
| 26 //===----------------------------------------------------------------------===// | 23 //===----------------------------------------------------------------------===// |
| 27 | 24 |
| 28 #ifndef SUBZERO_SRC_ICEINSTX8632_H | 25 #ifndef SUBZERO_SRC_ICEINSTX8664_H |
| 29 #define SUBZERO_SRC_ICEINSTX8632_H | 26 #define SUBZERO_SRC_ICEINSTX8664_H |
| 30 | 27 |
| 31 #include "IceDefs.h" | 28 #include "IceDefs.h" |
| 32 #include "IceInst.h" | 29 #include "IceInst.h" |
| 33 #include "IceInstX86Base.h" | 30 #include "IceInstX86Base.h" |
| 34 #include "IceOperand.h" | 31 #include "IceOperand.h" |
| 35 #include "IceTargetLoweringX8632Traits.h" | 32 #include "IceTargetLoweringX8664Traits.h" |
| 36 | 33 |
| 37 #endif // SUBZERO_SRC_ICEINSTX8632_H | 34 #endif // SUBZERO_SRC_ICEINSTX8664_H |
| OLD | NEW |