From: Jim Kingdon Date: Sun, 3 Oct 1993 03:28:56 +0000 (+0000) Subject: * hppa.h: Add gfw and gfr to the opcode table. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=efa77160ad781f6e805eaade8acc04ba47f4c877;p=binutils-gdb.git * hppa.h: Add gfw and gfr to the opcode table. --- diff --git a/include/opcode/hppa.h b/include/opcode/hppa.h index 7a5ccb2adc7..47470e169e5 100644 --- a/include/opcode/hppa.h +++ b/include/opcode/hppa.h @@ -67,7 +67,7 @@ struct pa_opcode ' "#$% *+- ./ 3 :; = @' ' B L N [\] _' - ' e gh lm qr yz{|} ' + ' e gh lm qr { } ' Here are all the characters: @@ -76,9 +76,10 @@ struct pa_opcode 'abcdefghijklmnopqrstuvwxyz{|}~' Kinds of operands: - x register field at 15. - b register field at 10. - t register field at 31. + x integer register field at 15. + b integer register field at 10. + t integer register field at 31. + y floating point register field at 31 5 5 bit immediate at 15. s 2 bit space specifier at 17. S 3 bit space specifier at 18. @@ -98,7 +99,8 @@ Kinds of operands: k 21 bit immediate value at 31 n nullification for branch instructions w 12 bit branch displacement - W 17 bit branch displacement + W 17 bit branch displacement (PC relative) + z 17 bit branch displacement (just a number, not an address) Also these: @@ -140,6 +142,7 @@ Also these: Q 5 bit immediate value at 10 (a bit position specified in the bb instruction. It's the same as r above, except the value is in a different location) + | shift/extract/deposit conditions when used in a conditional branch And these (PJH) for PA-89 F.P. registers and instructions: @@ -235,10 +238,10 @@ static const struct pa_opcode pa_opcodes[] = { "blr", 0xe8004000, 0xfc00e001, "nx,b", NORMAL}, { "bv", 0xe800c000, 0xfc00e001, "nx(b)", NORMAL}, { "bv", 0xe800c000, 0xfc00e001, "n(b)", NORMAL}, -{ "be", 0xe0000000, 0xfc000000, "nW(S,b)", NORMAL}, -{ "ble", 0xe4000000, 0xfc000000, "nW(S,b)", NORMAL}, -{ "movb", 0xc8000000, 0xfc000000, ">nx,b,w", CONDITIONAL}, -{ "movib", 0xcc000000, 0xfc000000, ">n5,b,w", CONDITIONAL}, +{ "be", 0xe0000000, 0xfc000000, "nz(S,b)", NORMAL}, +{ "ble", 0xe4000000, 0xfc000000, "nz(S,b)", NORMAL}, +{ "movb", 0xc8000000, 0xfc000000, "|nx,b,w", CONDITIONAL}, +{ "movib", 0xcc000000, 0xfc000000, "|n5,b,w", CONDITIONAL}, { "combt", 0x80000000, 0xfc000000, "