OLD | NEW |
---|---|
1 //===- subzero/src/IceAssemblerX86BaseImpl.h - base x86 assembler -*- C++ -*-=// | 1 //===- subzero/src/IceAssemblerX86BaseImpl.h - base x86 assembler -*- C++ -*-=// |
2 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 2 // 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 | 3 // 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. | 4 // BSD-style license that can be found in the LICENSE file. |
5 // | 5 // |
6 // Modified by the Subzero authors. | 6 // Modified by the Subzero authors. |
7 // | 7 // |
8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
9 // | 9 // |
10 // The Subzero Code Generator | 10 // The Subzero Code Generator |
11 // | 11 // |
12 // This file is distributed under the University of Illinois Open Source | 12 // This file is distributed under the University of Illinois Open Source |
13 // License. See LICENSE.TXT for details. | 13 // License. See LICENSE.TXT for details. |
14 // | 14 // |
15 //===----------------------------------------------------------------------===// | 15 //===----------------------------------------------------------------------===// |
16 // | 16 // |
17 // This file implements the AssemblerX86Base template class, which is the base | 17 /// \file |
18 // Assembler class for X86 assemblers. | 18 /// \brief Implements the AssemblerX86Base template class, which is the |
Jim Stichnoth
2015/12/02 21:50:38
Single space after \brief.
Also, reflow to 80-col
rkotlerimgtec
2015/12/02 23:58:14
Done.
| |
19 /// base Assembler class for X86 assemblers. | |
19 // | 20 // |
20 //===----------------------------------------------------------------------===// | 21 //===----------------------------------------------------------------------===// |
21 | 22 |
22 #include "IceAssemblerX86Base.h" | 23 #include "IceAssemblerX86Base.h" |
23 | 24 |
24 #include "IceCfg.h" | 25 #include "IceCfg.h" |
25 #include "IceCfgNode.h" | 26 #include "IceCfgNode.h" |
26 #include "IceOperand.h" | 27 #include "IceOperand.h" |
27 | 28 |
28 namespace Ice { | 29 namespace Ice { |
(...skipping 3417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
3446 (void)shifter; | 3447 (void)shifter; |
3447 if (Ty == IceType_i16) | 3448 if (Ty == IceType_i16) |
3448 emitOperandSizeOverride(); | 3449 emitOperandSizeOverride(); |
3449 emitRexB(Ty, operand.rm()); | 3450 emitRexB(Ty, operand.rm()); |
3450 emitUint8(isByteSizedArithType(Ty) ? 0xD2 : 0xD3); | 3451 emitUint8(isByteSizedArithType(Ty) ? 0xD2 : 0xD3); |
3451 emitOperand(rm, operand); | 3452 emitOperand(rm, operand); |
3452 } | 3453 } |
3453 | 3454 |
3454 } // end of namespace X86Internal | 3455 } // end of namespace X86Internal |
3455 } // end of namespace Ice | 3456 } // end of namespace Ice |
OLD | NEW |