aboutsummaryrefslogtreecommitdiff
path: root/binutils/ar.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2019-10-30 09:09:13 +0100
committerJan Beulich <jbeulich@suse.com>2019-10-30 09:09:13 +0100
commita961a1e1749443516d8fe6e0570cf808a09e8f89 (patch)
treed761185365bf08f9559b47031b05273a330b63b0 /binutils/ar.c
parent3cc17af5890d5877b8ac53eb5cd9a2adf82467e6 (diff)
downloadgdb-a961a1e1749443516d8fe6e0570cf808a09e8f89.zip
gdb-a961a1e1749443516d8fe6e0570cf808a09e8f89.tar.gz
gdb-a961a1e1749443516d8fe6e0570cf808a09e8f89.tar.bz2
x86: add tests to cover defaulting of operand sizes for ambiguous insns
Prior to changing the logic in the assembler install tests to make sure the present defaulting of operand sizes won't get broken. There are a few anomalies pointed out by this: - arithmetic insns (add, sub, etc) allow defaulting when their immediate fits in (signed) 8 bits, but they fail to assemble with larger values, - mov, other than arithmetic insns, doesn't allow any defaulting, - movsx/movzx default to byte sources (in AT&T mode), and their special casing needs to be adjusted first - bt and friends allow defaulting, while shl and friends don't, - ambiguous AVX and AVX512 insns don't allow defaulting. This should ultimately all become consistent (perhaps with the exception some of the SIMD insns); respective tests will be added to the test cases here as the issues get addressed.
Diffstat (limited to 'binutils/ar.c')
0 files changed, 0 insertions, 0 deletions