diff options
author | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:36:16 +0100 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2022-12-22 09:36:16 +0100 |
commit | 760ab3d0dbebbcd1b7b476f38704ae2e83006adf (patch) | |
tree | 721d6a71f02e79f8191ad7b595f608cff157cca3 /gas/config/tc-i386.c | |
parent | 0919e770af0d7d71e6410f00eaf3ae46a607dd3b (diff) | |
download | gdb-760ab3d0dbebbcd1b7b476f38704ae2e83006adf.zip gdb-760ab3d0dbebbcd1b7b476f38704ae2e83006adf.tar.gz gdb-760ab3d0dbebbcd1b7b476f38704ae2e83006adf.tar.bz2 |
x86: correct/improve TSX controls
TSXLDTRK takes RTM as a prereq. Additionally introduce an umbrella "tsx"
extension option covering both RTM and HLE, paralleling the "abm" one we
already have.
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index e2ffa5d..4e4bfdd 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -1050,7 +1050,8 @@ static const arch_entry cpu_arch[] = SUBARCH (lzcnt, LZCNT, LZCNT, false), SUBARCH (popcnt, POPCNT, POPCNT, false), SUBARCH (hle, HLE, HLE, false), - SUBARCH (rtm, RTM, RTM, false), + SUBARCH (rtm, RTM, ANY_RTM, false), + SUBARCH (tsx, TSX, TSX, false), SUBARCH (invpcid, INVPCID, INVPCID, false), SUBARCH (clflush, CLFLUSH, CLFLUSH, false), SUBARCH (nop, NOP, NOP, false), @@ -1112,7 +1113,7 @@ static const arch_entry cpu_arch[] = SUBARCH (rdpru, RDPRU, RDPRU, false), SUBARCH (mcommit, MCOMMIT, MCOMMIT, false), SUBARCH (sev_es, SEV_ES, ANY_SEV_ES, false), - SUBARCH (tsxldtrk, TSXLDTRK, TSXLDTRK, false), + SUBARCH (tsxldtrk, TSXLDTRK, ANY_TSXLDTRK, false), SUBARCH (kl, KL, ANY_KL, false), SUBARCH (widekl, WIDEKL, ANY_WIDEKL, false), SUBARCH (uintr, UINTR, UINTR, false), |