aboutsummaryrefslogtreecommitdiff
path: root/gdb/features/i386/i386-mpx.c
diff options
context:
space:
mode:
authorWalfred Tedeschi <walfred.tedeschi@intel.com>2016-04-19 15:45:50 +0200
committerWalfred Tedeschi <walfred.tedeschi@intel.com>2016-04-19 15:45:50 +0200
commitf42bf748e417cf9120fc57d144b6eaaf3adda247 (patch)
treeb3f02315e8093cedf2e8789f385e65693d1b67e6 /gdb/features/i386/i386-mpx.c
parent2b863f512dce3c2469cf40e4559fb571b1b01658 (diff)
downloadgdb-f42bf748e417cf9120fc57d144b6eaaf3adda247.zip
gdb-f42bf748e417cf9120fc57d144b6eaaf3adda247.tar.gz
gdb-f42bf748e417cf9120fc57d144b6eaaf3adda247.tar.bz2
Re-factor (i386|amd64)mpx target descriptions.
In the previous patch a new set of target descriptions (i386|amd64)-avx-mpx were added being same as the (i386|amd64)-mpx. This patch removes AVX feature from (i386|amd64)-mpx target description set. This way the (i386|amd64)avx_mpx(_linux|) set has AVX and MPX features and (i386|amd64)mpx(_linux|) only MPX. 2016-04-14 Walfred Tedeschi <walfred.tedeschi@intel.com> * features/i386/amd64-mpx-linux.xml: Remove AVX feature. * features/i386/amd64-mpx.xml: Remove AVX feature. * features/i386/i386-mpx-linux.xml: Remove AVX feature. * features/i386/i386-mpx.xml: Remove AVX feature. * features/i386/amd64-mpx-linux.c: Regenerate. * features/i386/amd64-mpx.c: Regenerate. * features/i386/i386-mpx-linux.c: Regenerate. * features/i386/i386-mpx.c: Regenerate. * regformats/i386/amd64-mpx-linux.dat: Regenerate. * regformats/i386/amd64-mpx.dat: Regenerate. * regformats/i386/i386-mpx-linux.dat: Regenerate. * regformats/i386/i386-mpx.dat: Regenerate.
Diffstat (limited to 'gdb/features/i386/i386-mpx.c')
-rw-r--r--gdb/features/i386/i386-mpx.c22
1 files changed, 6 insertions, 16 deletions
diff --git a/gdb/features/i386/i386-mpx.c b/gdb/features/i386/i386-mpx.c
index 28f51ac..c19af55 100644
--- a/gdb/features/i386/i386-mpx.c
+++ b/gdb/features/i386/i386-mpx.c
@@ -130,16 +130,6 @@ initialize_tdesc_i386_mpx (void)
tdesc_create_reg (feature, "xmm7", 39, 1, NULL, 128, "vec128");
tdesc_create_reg (feature, "mxcsr", 40, 1, "vector", 32, "i386_mxcsr");
- feature = tdesc_create_feature (result, "org.gnu.gdb.i386.avx");
- tdesc_create_reg (feature, "ymm0h", 41, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm1h", 42, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm2h", 43, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm3h", 44, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm4h", 45, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm5h", 46, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm6h", 47, 1, NULL, 128, "uint128");
- tdesc_create_reg (feature, "ymm7h", 48, 1, NULL, 128, "uint128");
-
feature = tdesc_create_feature (result, "org.gnu.gdb.i386.mpx");
type = tdesc_create_struct (feature, "br128");
field_type = tdesc_named_type (feature, "uint64");
@@ -171,12 +161,12 @@ initialize_tdesc_i386_mpx (void)
field_type = tdesc_named_type (feature, "_bndcfgu");
tdesc_add_field (type, "config", field_type);
- tdesc_create_reg (feature, "bnd0raw", 49, 1, NULL, 128, "br128");
- tdesc_create_reg (feature, "bnd1raw", 50, 1, NULL, 128, "br128");
- tdesc_create_reg (feature, "bnd2raw", 51, 1, NULL, 128, "br128");
- tdesc_create_reg (feature, "bnd3raw", 52, 1, NULL, 128, "br128");
- tdesc_create_reg (feature, "bndcfgu", 53, 1, NULL, 64, "cfgu");
- tdesc_create_reg (feature, "bndstatus", 54, 1, NULL, 64, "status");
+ tdesc_create_reg (feature, "bnd0raw", 41, 1, NULL, 128, "br128");
+ tdesc_create_reg (feature, "bnd1raw", 42, 1, NULL, 128, "br128");
+ tdesc_create_reg (feature, "bnd2raw", 43, 1, NULL, 128, "br128");
+ tdesc_create_reg (feature, "bnd3raw", 44, 1, NULL, 128, "br128");
+ tdesc_create_reg (feature, "bndcfgu", 45, 1, NULL, 64, "cfgu");
+ tdesc_create_reg (feature, "bndstatus", 46, 1, NULL, 64, "status");
tdesc_i386_mpx = result;
}