aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-09-20 10:18:15 +0200
committerJan Beulich <jbeulich@suse.com>2019-09-20 10:18:15 +0200
commit3f9aad111cea2f25877d0a6b404956769c14faee (patch)
tree710516f16c6e7652447adce60a180cdd6f9e2362 /sim
parent4c51dacacf8a97194a1241ad5e1cbf7be00a59a3 (diff)
downloadgdb-3f9aad111cea2f25877d0a6b404956769c14faee.zip
gdb-3f9aad111cea2f25877d0a6b404956769c14faee.tar.gz
gdb-3f9aad111cea2f25877d0a6b404956769c14faee.tar.bz2
x86-64: fix handling of PUSH/POP of segment register
Commit 21df382b91 ("x86: fold SReg{2,3}") went too far: Folding 64-bit PUSH/POP templates into non-64-bit ones isn't correct, due to the different operand widths, and hence suffixes permitted. Restore the separate templates. Add tests of PUSH/POP with q suffix and %fs/%gs operands to the testsuite. While doing so also add PUSHF/POPF ones _without_ suffix.
Diffstat (limited to 'sim')
0 files changed, 0 insertions, 0 deletions