| Index: src/IceRegistersX8632.h
|
| diff --git a/src/IceRegistersX8632.h b/src/IceRegistersX8632.h
|
| index d7bfd6f7db6d68c005f84d59b30fedee50a4d68c..7cce6619b42b199a1c0f704a1322e53a7c5ddf85 100644
|
| --- a/src/IceRegistersX8632.h
|
| +++ b/src/IceRegistersX8632.h
|
| @@ -6,9 +6,10 @@
|
| // License. See LICENSE.TXT for details.
|
| //
|
| //===----------------------------------------------------------------------===//
|
| -//
|
| -// This file declares the registers and their encodings for x86-32.
|
| -//
|
| +///
|
| +/// \file
|
| +/// This file declares the registers and their encodings for x86-32.
|
| +///
|
| //===----------------------------------------------------------------------===//
|
|
|
| #ifndef SUBZERO_SRC_ICEREGISTERSX8632_H
|
| @@ -22,8 +23,8 @@ namespace Ice {
|
|
|
| class RegX8632 {
|
| public:
|
| - // An enum of every register. The enum value may not match the encoding
|
| - // used to binary encode register operands in instructions.
|
| + /// An enum of every register. The enum value may not match the encoding
|
| + /// used to binary encode register operands in instructions.
|
| enum AllRegisters {
|
| #define X(val, encode, name, name16, name8, scratch, preserved, stackptr, \
|
| frameptr, isI8, isInt, isFP) \
|
| @@ -36,8 +37,8 @@ public:
|
| #undef X
|
| };
|
|
|
| - // An enum of GPR Registers. The enum value does match the encoding used
|
| - // to binary encode register operands in instructions.
|
| + /// An enum of GPR Registers. The enum value does match the encoding used
|
| + /// to binary encode register operands in instructions.
|
| enum GPRRegister {
|
| #define X(val, encode, name, name16, name8, scratch, preserved, stackptr, \
|
| frameptr, isI8, isInt, isFP) \
|
| @@ -47,8 +48,8 @@ public:
|
| Encoded_Not_GPR = -1
|
| };
|
|
|
| - // An enum of XMM Registers. The enum value does match the encoding used
|
| - // to binary encode register operands in instructions.
|
| + /// An enum of XMM Registers. The enum value does match the encoding used
|
| + /// to binary encode register operands in instructions.
|
| enum XmmRegister {
|
| #define X(val, encode, name, name16, name8, scratch, preserved, stackptr, \
|
| frameptr, isI8, isInt, isFP) \
|
| @@ -58,8 +59,8 @@ public:
|
| Encoded_Not_Xmm = -1
|
| };
|
|
|
| - // An enum of Byte Registers. The enum value does match the encoding used
|
| - // to binary encode register operands in instructions.
|
| + /// An enum of Byte Registers. The enum value does match the encoding used
|
| + /// to binary encode register operands in instructions.
|
| enum ByteRegister {
|
| #define X(val, encode) Encoded_##val encode,
|
| REGX8632_BYTEREG_TABLE
|
| @@ -67,8 +68,8 @@ public:
|
| Encoded_Not_ByteReg = -1
|
| };
|
|
|
| - // An enum of X87 Stack Registers. The enum value does match the encoding used
|
| - // to binary encode register operands in instructions.
|
| + /// An enum of X87 Stack Registers. The enum value does match the encoding used
|
| + /// to binary encode register operands in instructions.
|
| enum X87STRegister {
|
| #define X(val, encode, name) Encoded_##val encode,
|
| X87ST_REGX8632_TABLE
|
|
|