This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 4/9] x86: add tests to cover defaulting of operand sizes for ambiguous insns


On Mon, Oct 28, 2019 at 1:04 AM Jan Beulich <jbeulich@suse.com> wrote:
>
> 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.
>
> gas/
> 2019-10-XX  Jan Beulich  <jbeulich@suse.com>
>
>         * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.s,
>         testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.s,
>         testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.s: New.
>         * testsuite/gas/i386/i386.exp: Run new tests.

OK.

Thanks.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]