bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/27676] [PowerPC] Missing extended mnemonics 'dcbtct', 'dcbtds',


From: cvs-commit at gcc dot gnu.org
Subject: [Bug gas/27676] [PowerPC] Missing extended mnemonics 'dcbtct', 'dcbtds', 'dcbna', 'dcbtstct', 'dcbtstds'
Date: Wed, 07 Apr 2021 23:03:31 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=27676

--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot 
gnu.org> ---
The master branch has been updated by Alan Modra <amodra@sourceware.org>:

https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=97bf40d859ffe44892b3ad2c62f011fd26fca699

commit 97bf40d859ffe44892b3ad2c62f011fd26fca699
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Apr 5 08:17:06 2021 +0930

    PR27676, PowerPC missing extended dcbt, dcbtst mnemonics

    Note that this doesn't implement the ISA to the letter regarding
    dcbtds (and dcbtstds), which says that the TH field may be zero.  That
    doesn't make sense because allowing TH=0 would mean you no long have a
    dcbtds but rather a dcbtct instruction.  I'm interpreting the ISA
    wording about allowing TH=0 to mean that the TH field of dcbtds is
    optional (in which case the TH value is 0b1000).

    opcodes/
            PR 27676
            * ppc-opc.c (DCBT_EO): Move earlier.
            (insert_thct, extract_thct, insert_thds, extract_thds): New
functions.
            (powerpc_operands): Add THCT and THDS entries.
            (powerpc_opcodes): Add dcbtstct, dcbtstds, dcbna, dcbtct, dcbtds.
    gas/
            * testsuite/gas/ppc/pr27676.d,
            * testsuite/gas/ppc/pr27676.s: New test.
            * testsuite/gas/ppc/ppc.exp: Run it.
            * testsuite/gas/ppc/dcbt.d: Update.
            * testsuite/gas/ppc/power4_32.d: Update.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]