LRDE Tiger Compiler  1.34a $Id: 7fef12e1f5fa43449d667a0eec1d837c40fc1202 $
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
cpu.hh
Go to the documentation of this file.
1 
6 #ifndef TARGET_IA32_CPU_HH
7 # define TARGET_IA32_CPU_HH
8 
9 # include <target/cpu.hh>
10 
11 namespace target
12 {
13  namespace ia32
14  {
15 
17  class Cpu : public target::Cpu
18  {
21  public:
23  Cpu ();
26  public:
28  virtual size_t word_size_get () const override;
29 
31  virtual const temp::Temp& fp_reg () const override;
32 
34  virtual const temp::Temp& sp_reg () const;
35 
37  virtual const temp::Temp& result_reg () const override;
38  };
39 
40  } // namespace ia32
41 } // namespace target
42 
43 #endif // !TARGET_IA32_CPU_HH