x86: convert Control/Debug/Test from bitfield to enumerator
[deliverable/binutils-gdb.git] / opcodes / ChangeLog
index 6c4c3ff09c8905823438a3cdb1775bce1914fc34..6becd0c5f1e80a30bb32c27c206e463d67368d56 100644 (file)
@@ -1,3 +1,19 @@
+2019-11-08  Jan Beulich  <jbeulich@suse.com>
+
+       * i386-gen.c (operand_type_init): Add Class= to
+       OPERAND_TYPE_CONTROL, OPERAND_TYPE_TEST, and OPERAND_TYPE_DEBUG
+       entries.
+       (operand_classes): Add RegCR, RegDR, and RegTR entries.
+       (operand_types): Drop Control, Debug, and Test entries.
+       * i386-opc.h (enum operand_class): Add RegCR, RegDR, and RegTR.
+       (Control, Debug, Test): Delete.
+       (union i386_operand_type): Remove control, debug, and test
+       fields.
+       * i386-opc.tbl (Control, Debug, Test): Define.
+       * i386-reg.tbl: Replace Control by Class=RegCR, Debug by
+       Class=RegDR, and Test by Class=RegTR.
+       * i386-init.h, i386-tbl.h: Re-generate.
+
 2019-11-08  Jan Beulich  <jbeulich@suse.com>
 
        * i386-gen.c (operand_type_init): Add Class= to
This page took 0.026161 seconds and 4 git commands to generate.