418c174284
* config/tc-ppc.c (md_parse_option): New -m7410, -m7450 and -m7455 flags, equivalent to -m7400. New -maltivec to enable AltiVec instructions. New -mbook64 and -mbooke/-mbooke32 flags to enable 64-bit and 32-bit BookE support, respectively. Change -m403 and -m405 to set PPC403 option. (md_show_usage): Adjust for new options. * doc/all.texi: Set PPC. * doc/as.texinfo: Add PPC support and pull in c-ppc.texi. * doc/c-ppc.texi: New file. * doc/Makefile.am (CPU_DOCS): Add c-ppc.texi. * doc/Makefile.in: Regenerate. [gas/testsuite/ChangeLog] * gas/ppc/booke.s: New test for Motorola BookE. * gas/ppc/booke.d: New file. * gas/ppc/ppc.exp: Test booke.s. [include/opcode/ChangeLog] * ppc.h (PPC_OPCODE_BOOKE, PPC_OPCODE_403): New opcode flags for BookE and PowerPC403 instructions. [opcodes/ChangeLog] * ppc-opc.c (insert_de, extract_de, insert_des, extract_des): New instruction field instruction/extraction functions for new BookE DE form instructions. (CT): New macro for CT field in an X form instruction. (DE, DES, DEO, DE_MASK): New macros for DE/DES fields in DE form instructions. (PPC64): Don't include PPC_OPCODE_PPC. (403): New opcode macro for PPC403 processors. (BOOKE): New opcode macro for BookE processors. (bce, bcel, bcea, bcela, bclre, bclrel: New BookE instructions. (bcctre, bcctrel, be, bel, bea, bela, icbt, icbte, lwzxe): Likewise. (dcbste, lwzuxe, luxe, dcbfe, lbzxe, lwarxe, lbzuxe): Likewise. (stwcxe, stwxe, stxe, stwuxe, stuxe, stbxe, dcbtste, stbuxe): Likewise. (mfapidi, dcbte, lhzxe, lhzuxe, lhaxe, lhauxe, subfe64): Likewise. (subfeo64, adde64, addeo64, sthxe, sthuxe, subfze64): Likewise. (subfzeo64, addze64, addzeo64, dcbie, subfme64, subfmeo64): Likewise. (addme64, addmeo64, stdcxe., mcrxr64, lwbrxe, lfsxe, lfsuxe): Likewise. (lfdxe, lfduxe, stwbrxe, stfsxe, stfsuxe, stfdxe, dcbae): Likewise. (stfduxe, tlbivax, tlbivaxe, lhbrxe, ldxe, lduxe, tlbsx): Likewise. (tlbsxe, sthbrxe, stdxe, stduxe, icbie, stfiwxe, dcbze, lbze): Likewise. (lbzue, ldue, lhze, lhzue, lhae, lhaue, lwze, lwzue): Likewise. (stbe, stbue, sthe, sthue, stwe, stwue, lfse, lfsue, lfde): Likewise. (lfdue, stde, stdue, stfse, stfsue, stfde, stfdue): Likewise. * ppc-dis.c (print_insn_big_powerpc, print_insn_little_powerpc): Look for a disassembler option of `booke', `booke32' or `booke64' to enable BookE support in the disassembler.
83 lines
1.9 KiB
Makefile
83 lines
1.9 KiB
Makefile
## Process this file with automake to generate Makefile.in
|
|
|
|
AUTOMAKE_OPTIONS = cygnus
|
|
|
|
# What version of the manual you want; "all" includes everything
|
|
CONFIG=all
|
|
|
|
# Options to extract the man page from as.texinfo
|
|
MANCONF = -Dman
|
|
|
|
TEXI2POD = perl $(top_srcdir)/../etc/texi2pod.pl
|
|
|
|
POD2MAN = pod2man --center="GNU" --release="binutils-$(VERSION)" --section=1
|
|
|
|
man_MANS = as.1
|
|
|
|
info_TEXINFOS = as.texinfo gasp.texi
|
|
|
|
asconfig.texi: $(CONFIG).texi
|
|
rm -f asconfig.texi
|
|
ln -s $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|| ln $(srcdir)/$(CONFIG).texi ./asconfig.texi >/dev/null 2>&1 \
|
|
|| cp $(srcdir)/$(CONFIG).texi ./asconfig.texi
|
|
|
|
CPU_DOCS = \
|
|
c-a29k.texi \
|
|
c-arc.texi \
|
|
c-arm.texi \
|
|
c-d10v.texi \
|
|
c-h8300.texi \
|
|
c-h8500.texi \
|
|
c-hppa.texi \
|
|
c-i370.texi \
|
|
c-i386.texi \
|
|
c-i860.texi \
|
|
c-i960.texi \
|
|
c-m32r.texi \
|
|
c-m68hc11.texi \
|
|
c-m68k.texi \
|
|
c-m88k.texi \
|
|
c-mips.texi \
|
|
c-ns32k.texi \
|
|
c-pdp11.texi \
|
|
c-pj.texi \
|
|
c-ppc.texi \
|
|
c-sh.texi \
|
|
c-sparc.texi \
|
|
c-tic54x.texi \
|
|
c-vax.texi \
|
|
c-v850.texi \
|
|
c-z8k.texi
|
|
|
|
gasver.texi: Makefile
|
|
rm -f $@
|
|
echo '@set VERSION $(VERSION)' > $@
|
|
|
|
as.info: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
|
as.dvi: $(srcdir)/as.texinfo asconfig.texi gasver.texi $(CPU_DOCS)
|
|
|
|
# This one isn't ready for prime time yet. Not even a little bit.
|
|
|
|
noinst_TEXINFOS = internals.texi
|
|
|
|
DISTCLEANFILES = asconfig.texi
|
|
|
|
MAINTAINERCLEANFILES = gasver.texi
|
|
|
|
# Maintenance
|
|
|
|
# We need it for the taz target in ../../Makefile.in.
|
|
info: $(MANS)
|
|
|
|
# Build the man page from the texinfo file
|
|
# The sed command removes the no-adjust Nroff command so that
|
|
# the man output looks standard.
|
|
as.1: $(srcdir)/as.texinfo
|
|
touch $@
|
|
-$(TEXI2POD) $(MANCONF) < $(srcdir)/as.texinfo > as.pod
|
|
-($(POD2MAN) as.pod | \
|
|
sed -e '/^.if n .na/d' > $@.T$$$$ && \
|
|
mv -f $@.T$$$$ $@) || \
|
|
(rm -f $@.T$$$$ && exit 1)
|
|
rm -f as.pod
|