OLD | NEW |
1 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ------*- C++ -*-===// | 1 //===- subzero/src/assembler_ia32.h - Assembler for x86-32 ------*- C++ -*-===// |
| 2 // |
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 3 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
3 // for details. All rights reserved. Use of this source code is governed by a | 4 // for details. All rights reserved. Use of this source code is governed by a |
4 // BSD-style license that can be found in the LICENSE file. | 5 // BSD-style license that can be found in the LICENSE file. |
5 // | 6 // |
6 // Modified by the Subzero authors. | 7 // Modified by the Subzero authors. |
7 // | 8 // |
8 //===----------------------------------------------------------------------===// | 9 //===----------------------------------------------------------------------===// |
9 // | 10 // |
10 // The Subzero Code Generator | 11 // The Subzero Code Generator |
11 // | 12 // |
12 // This file is distributed under the University of Illinois Open Source | 13 // This file is distributed under the University of Illinois Open Source |
13 // License. See LICENSE.TXT for details. | 14 // License. See LICENSE.TXT for details. |
14 // | 15 // |
15 //===----------------------------------------------------------------------===// | 16 //===----------------------------------------------------------------------===// |
16 // | 17 // |
17 // This file implements the Assembler class for x86-32. | 18 // This file implements the Assembler class for x86-32. |
18 // | 19 // |
19 //===----------------------------------------------------------------------===// | 20 //===----------------------------------------------------------------------===// |
20 | 21 |
21 #ifndef SUBZERO_SRC_ASSEMBLER_IA32_H_ | 22 #ifndef SUBZERO_SRC_ASSEMBLER_IA32_H |
22 #define SUBZERO_SRC_ASSEMBLER_IA32_H_ | 23 #define SUBZERO_SRC_ASSEMBLER_IA32_H |
23 | 24 |
24 #include "IceConditionCodesX8632.h" | 25 #include "IceConditionCodesX8632.h" |
25 #include "IceDefs.h" | 26 #include "IceDefs.h" |
26 #include "IceOperand.h" | 27 #include "IceOperand.h" |
27 #include "IceRegistersX8632.h" | 28 #include "IceRegistersX8632.h" |
28 #include "IceTypes.h" | 29 #include "IceTypes.h" |
29 #include "IceUtils.h" | 30 #include "IceUtils.h" |
30 | 31 |
31 #include "assembler.h" | 32 #include "assembler.h" |
32 | 33 |
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
875 | 876 |
876 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { | 877 inline void AssemblerX86::EmitFixup(AssemblerFixup *fixup) { |
877 buffer_.EmitFixup(fixup); | 878 buffer_.EmitFixup(fixup); |
878 } | 879 } |
879 | 880 |
880 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } | 881 inline void AssemblerX86::EmitOperandSizeOverride() { EmitUint8(0x66); } |
881 | 882 |
882 } // end of namespace x86 | 883 } // end of namespace x86 |
883 } // end of namespace Ice | 884 } // end of namespace Ice |
884 | 885 |
885 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H_ | 886 #endif // SUBZERO_SRC_ASSEMBLER_IA32_H |
OLD | NEW |