Alan Modra
1328dc9844
Adds assembly and dis-assembly support for the HPPA wide
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
26 years ago
Alan Modra
6e09abd4bd
Add some prototypes, and fix a few warnings.
26 years ago
Jeff Law
91b1cc5d0b
* hppa-dis.c (extract_16): New function.
27 years ago
Alan Modra
0d8dfecfe9
More portability patches. Include sysdep.h everywhere.
27 years ago
Jeff Law
61e8273b2c
* hppa-dis.c (unit_cond_names): Add PA2.0 unit condition names.
(print_insn_hppa): Handle 'B' operand.
27 years ago
Jeff Law
1c170bd8b2
* hppa-dis.c (print_insn_hppa): Add new codes 'cc', 'cd', 'cC',
'co', '@'.
* hppa-dis.c (print_insn_hppa): Removed unused args. Fix '?W'.
* hppa-dis.c (print_insn_hppa): Implement codes "?N", "?Q".
27 years ago
Jeff Law
e4df56c400
Remove accidental case duplication.
27 years ago
Jeff Law
1fb72ed144
* hppa-dis.c (print_insn_hppa): Replace 'B', 'M', 'g' and 'l' with
cleaner code using completer prefixes. Add 'Y'.
27 years ago
Jeff Law
9c1faa8229
* hppa-dis.c: (print_insn_hppa): Correct 'cJ', 'cc'.
27 years ago
Jeff Law
b3fe7ee280
* hppa-dis.c (extract_22): New function.
27 years ago
Jeff Law
eb32eb44aa
* hppa-dis.c (print_insn_hppa): Handle 'J', 'K', and 'cc'.
27 years ago
Jeff Law
f322c2c2c1
* hppa-dis.c (print_insn_hppa): Handle 'fe' and 'cJ'.
27 years ago
Jeff Law
d758242c73
* hppa-dis.c (print_insn_hppa): Handle '#', 'd', and 'cq'.
27 years ago
Jeff Law
838c65f040
* hppa-dis.c (print_insn_hppa): Handle 'm', 'h', '='.
27 years ago
Jeff Law
3610d1317d
* hppa-dis.c (print_insn_hppa): Handle 'X' operand.
27 years ago
Jeff Law
69138680ad
* hppa-dis.c (print_insn_hppa): Handle 'B' operand.
27 years ago
Jeff Law
2784abe525
* hppa-dis.c (print_insn_hppa): Handle 'M' and 'L' operands.
27 years ago
Jeff Law
a5c4b2b4cd
* hppa-dis.c (print_insn_hppa): Handle 'l' operand.
27 years ago
Jeff Law
321e8dac9b
* hppa-dis.c (print_insn_hppa): Handle 'g' operand.
27 years ago
Jeff Law
e46def7bdf
* hppa-dis.c (print_insn_hppa): Output a space after 'X' completer.
27 years ago
Jeff Law
46e36b17b0
* hppa-dis.c: (print_insn_hppa): Do output a space before a 'v'
operand.
27 years ago
Jeff Law
debc018de3
* hppa-dis.c: (print_insn_hppa): Handle 'fX'.
27 years ago
Jeff Law
2f87f883f1
* hppa-dis.c: (print_insn_hppa): Add missing break after
FP register case.
27 years ago
Jeff Law
58d0c905e5
* hppa-dis.c: Finish constifying various completers, register
27 years ago
Jeff Law
2beaab59a5
* hppa-dis.c (print_insn_hppa): Escape '%' in output strings.
27 years ago
Jeff Law
d1e9bd1f11
* hppa-dis.c (print_insn_hppa): Handle 'Z' argument.
27 years ago
Jeff Law
a349b1517f
* hppa-dis.c (print_insn_hppa): Replace 'f' by 'v'. Prefix float
register args by 'f'.
27 years ago
Jeff Law
af10de8240
* hppa-dis.c (print_insn_hppa): Add args q, %, !, and |.
27 years ago
Jeff Law
3b67cf2b51
* hppa-dis.c (MASK_10, read_write_names, add_compl_names,
extract_10U_store): New.
(print_insn_hppa): Add new completers.
27 years ago
Jeff Law
1eee34f59f
* hppa-dis.c (signed_unsigned_names,mix_half_names,
saturation_names): New.
(print_insn_hppa): Add completer codes 'a', 'ch', 'cH', 'cS', and 'c*'.
27 years ago
Jeff Law
3281117ae1
* hppa-dis.c (print_insn_hppa): Place completers behind prefix 'c'.
27 years ago
Jeff Law
b7d6d48509
Add missing '!' change.
27 years ago
Jeff Law
46424e052b
* hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
27 years ago
Jeff Law
4f31259178
* hppa-dis.c (print_insn_hppa): Look at next arg instead of bits
to decide to print a space.
27 years ago
Jeff Law
b333b6c6d3
* hppa-dis.c (compare_cond_64_names, cmpib_cond_64_names,
add_cond_64_names, wide_add_cond_names, logical_cond_64_names,
unit_cond_64_names, shift_cond_64_names, bb_cond_64_names): New.
(print_insn_hppa): Add 64 bit condition completers.
27 years ago
Jeff Law
feb129926a
* hppa-dis.c (print_insn_hppa): Change condition args to use
27 years ago
Jeff Law
25ef477f61
Fix oops.
27 years ago
Jeff Law
3ea80b3388
* hppa-dis.c (print_insn_hppa): Remove unnecessary test in 'E'
27 years ago
Richard Henderson
252b5132c7
19990502 sourceware import
28 years ago
Stan Shebs
071ea11e85
Initial creation of sourceware repository
28 years ago
David Taylor
feb82d0a7d
fix comments and some indentation.
28 years ago
Jeff Law
e59f322778
* hppa-dis.c (print_insn_hppa): No space before 'H' operand.
Floating point format for 'H' operand is backwards from normal
case (0 == double, 1 == single). For '4', '6', '7', '9', and '8'
operands (fmpyadd and fmpysub), handle bizarre register translation
correctly for single precision format.
33 years ago
Jeff Law
e3960b9610
* hppa-dis.c (print_insn_hppa): Do not emit a space after 'F'
or 'I' operands if the next format specifier is 'M' (fcmp
condition completer).
33 years ago
Jim Kingdon
18de15d82e
* hppa-dis.c: Move floating registers from reg_names to fp_reg_names.
(fput_fp_reg_r): Renamed from fput_reg_r.
(fput_fp_reg): New function.
(print_insn_hppa): Use fput_fp_reg{,_r} where appropriate.
34 years ago
Jim Kingdon
4d135f1c5a
* hppa-dis.c (print_insn_hppa, cases 'a', 'd'): Print space afterwards.
* hppa-dis.c (print_insn_hppa, case 'd'): Use GET_COND not GET_FIELD.
34 years ago
Jim Kingdon
b2ad2e6473
* hppa-dis.c (print_insn_hppa): Use extract_5r_store for 'r'.
34 years ago
Jim Kingdon
981b3a2794
* hppa-dis.c (print_insn_hppa, case '>'): If next character is 'n',
don't output a space.
34 years ago
Jim Kingdon
17068960cb
* hppa-dis.c (float_format_names): 10 is undefined, and 11 is quad.
34 years ago
Stu Grossman
5aef7c67a3
Changes from Jeff Law, law@cs.utah.edu:
* hppa-dis.c: Fix typo. 'a' and 'd' were reversed.
Do not print a space before the completers specified by
'a' and 'd'.
34 years ago
Ken Raeburn
112087edcc
Lots of changes from Jeff Law for HPPA support:
Clean up cruft in opcode table; improve opcodes library disassembler; make
gdb use opcodes library disassembler.
34 years ago