Summary: | GNU BINUTILS 2.28 PPC objdump output error: mtivor35,mtibatl | ||
---|---|---|---|
Product: | binutils | Reporter: | James Rodriguez <jrodor> |
Component: | binutils | Assignee: | Alan Modra <amodra> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | amodra |
Priority: | P2 | ||
Version: | 2.28 | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | 2017-03-17 00:00:00 | |
Attachments: | PowerPC Assembly code for gas and then objdump. |
Description
James Rodriguez
2017-03-13 22:52:26 UTC
Regarding ppc-opc.c, TITAN on those lines *disables* that entry for titan. So the mtibatu/l are enabled for ppc in general except titan. The mtivor32..34 are enabled for PPC_OPCODE_SPE and mtivor35 for PPC_OPCODE_PMR. Only the latter flag is enabled for e6500. The Freescale reference manual for e6500 that I have mentions IVOR32 and IVOR33, so it would appear that modifying the PPCSPE on those lines (and mfivor32,33) to be PPCSPE|E6500 will fix this for e6500. I'll commit a patch to do that. Also, it seems rather a lot of spr related mnemonics should be disabled for e6500. Please send a patch to binutils@sourceware.org, if you care enough to fix them. The master branch has been updated by Alan Modra <amodra@sourceware.org>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=4b94dd2de12dd0389615700b13b63260e162ccf0 commit 4b94dd2de12dd0389615700b13b63260e162ccf0 Author: Alan Modra <amodra@gmail.com> Date: Fri Mar 17 19:06:12 2017 +1030 E6500 spr mnemonics PR 21248 * ppc-opc.c (powerpc_opcodes): Enable mfivor32, mfivor33, mtivor32, and mtivor33 for e6500. Move mfibatl and mfibatu after those spr mnemonics they alias. Similarly for mtibatl, mtibatu. Fixed |