]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - opcodes/ChangeLog
Prevent undefined FMOV instructions being accepted by the AArch64 assembler.
authorEgeyar Bagcioglu <egeyar.bagcioglu@oracle.com>
Fri, 8 Jun 2018 13:02:52 +0000 (14:02 +0100)
committerNick Clifton <nickc@redhat.com>
Fri, 8 Jun 2018 13:04:11 +0000 (14:04 +0100)
commitcb36699271e2f3308b6f1aa40086950111308020
tree806a477ee2d12682bdb752667418036ef95e76cb
parentfd161d860f1df7140153eab4726705cc3e2727b0
Prevent undefined FMOV instructions being accepted by the AArch64 assembler.

    Detect illegal FMOV instructions that changes the size from 32 bits to 64
    bits and vice versa. Add tests for these and other undefined FMOV
    instructions.

        PR 20319
gas     * testsuite/gas/aarch64/illegal-3.s: Test if unallocated FMOV encodings
        are detected as undefined.
        * testsuite/gas/aarch64/illegal-3.d: Likewise.
        * testsuite/gas/aarch64/illegal.s: Test if FMOV instructions that are
        changing the size from 32 bits to 64 bits and vice versa trigger an
        error.
        * testsuite/gas/aarch64/illegal.l: Likewise.

opcodes * aarch64-tbl.h: Introduce QL_INT2FP_FMOV and QL_FP2INT_FMOV.
        (aarch64_opcode_table) : Use QL_INT2FP_FMOV and QL_FP2INT_FMOV.
gas/ChangeLog
gas/testsuite/gas/aarch64/illegal-3.d
gas/testsuite/gas/aarch64/illegal-3.s
gas/testsuite/gas/aarch64/illegal.l
gas/testsuite/gas/aarch64/illegal.s
opcodes/ChangeLog
opcodes/aarch64-tbl.h