https://sourceware.org/bugzilla/show_bug.cgi?id=27647
Bug ID: 27647 Summary: [PowerPC] Extended conditional branch mnemonics should accept an optional branch hint operand Product: binutils Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P2 Component: gas Assignee: unassigned at sourceware dot org Reporter: pc at us dot ibm.com Target Milestone: --- Per Power ISA Book I Appendix C.2, "for all the extended mnemonics [...] that devolve to any of these four basic mnemonics the BH operand can either be coded or omitted." (The "four basic mnemonics" are bclr, bclrl, bcctr, or bcctrl, so this issue probably impacts all of them.) That says to me that something like: btlr 0,1 should compile, with "0" representing BI (the CR bit), and "1" representing BH (the branch hint). "btlr 0,1" devolves to "bclr 12,0,1". This construct produces an error: -- $ as --version GNU assembler (GNU Binutils) 2.35.1.20201003 [...] $ cat a.s btlr 0,1 $ as a.s a.s: Assembler messages: a.s:1: Error: junk at end of line: `1' -- -- You are receiving this mail because: You are on the CC list for the bug.