Bug 13390 - SuperH "pref" instruction was introduced in sh3, not sh4
Summary: SuperH "pref" instruction was introduced in sh3, not sh4
Status: RESOLVED FIXED
Alias: None
Product: binutils
Classification: Unclassified
Component: binutils (show other bugs)
Version: 2.21
: P2 minor
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-06 23:02 UTC by Valery Ushakov
Modified: 2019-11-10 23:59 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Valery Ushakov 2011-11-06 23:02:29 UTC
opcodes/sh-opc.h lists "pref @Rn" instruction as arch_sh2a_nofpu_or_sh4_nommu_nofpu_up, but this instruction was already introduced in sh3.

I fixed this once a long time ago in the copy we had imported in NetBSD (arch_sh4_up -> arch_sh3_up in terms used at that time) but completely forgot to file a bug report here and so lost the fix in subsequent binutils and gdb upgrades.
Comment 1 Valery Ushakov 2019-11-09 16:02:05 UTC
This was fixed in ac99436572d903781c124fa3cc72d83360202b76 in 2015.
Comment 2 Alan Modra 2019-11-10 23:59:44 UTC
Closing as fixed then.