This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] (hppa) allow cache-hints for some insns


Please apply if this looks ok. Tested with 2.13.90.0.10.

My PA asm reference is a little vague on how many of these insn
templates allow cache control hints. I think this should cover it, but
there may still be some other ones missing.

thanks,
randolph

2002-11-10  Randolph Chung <tausq@debian.org>

	* include/opcode/hppa.h (pa_opcodes): allow cache-hints for
	  some more store insns

--- binutils-2.13.90.0.10/include/opcode/hppa.h	2002-02-03 11:22:32.000000000 -0800
+++ binutils-2.13.90.0.10/include/opcode/hppa.h	2002-11-10 17:05:13.000000000 -0800
@@ -435,8 +435,8 @@
 { "ldwas",	0x0c001180, 0xfc00dfc0, "cM5(b),t", pa10, 0},
 { "ldcws",	0x0c0011c0, 0xfc001fc0, "cM5(s,b),t", pa10, 0},
 { "ldcws",	0x0c0011c0, 0xfc001fc0, "cM5(b),t", pa10, 0},
-{ "stws",	0x0c001280, 0xfc001fc0, "cMx,V(s,b)", pa10, 0},
-{ "stws",	0x0c001280, 0xfc001fc0, "cMx,V(b)", pa10, 0},
+{ "stws",	0x0c001280, 0xfc001fc0, "cMcCx,V(s,b)", pa10, 0},
+{ "stws",	0x0c001280, 0xfc001fc0, "cMcCx,V(b)", pa10, 0},
 { "sths",	0x0c001240, 0xfc001fc0, "cMx,V(s,b)", pa10, 0},
 { "sths",	0x0c001240, 0xfc001fc0, "cMx,V(b)", pa10, 0},
 { "stbs",	0x0c001200, 0xfc001fc0, "cMx,V(s,b)", pa10, 0},
@@ -755,10 +755,10 @@
 { "fldds",      0x2c001000, 0xfc001fc0, "cm5(b),ft", pa10, 0},
 { "fstws",      0x24001200, 0xfc001f80, "cmfT,5(s,b)", pa10, 0},
 { "fstws",      0x24001200, 0xfc001f80, "cmfT,5(b)", pa10, 0},
-{ "fstds",      0x2c001200, 0xfc001fc0, "cmft,5(s,b)", pa10, 0},
-{ "fstds",      0x2c001200, 0xfc001fc0, "cmft,5(b)", pa10, 0},
-{ "fstqs",      0x3c001200, 0xfc001fc0, "cmft,5(s,b)", pa10, 0},
-{ "fstqs",      0x3c001200, 0xfc001fc0, "cmft,5(b)", pa10, 0},
+{ "fstds",      0x2c001200, 0xfc001fc0, "cmcCft,5(s,b)", pa10, 0},
+{ "fstds",      0x2c001200, 0xfc001fc0, "cmcCft,5(b)", pa10, 0},
+{ "fstqs",      0x3c001200, 0xfc001fc0, "cmcCft,5(s,b)", pa10, 0},
+{ "fstqs",      0x3c001200, 0xfc001fc0, "cmcCft,5(b)", pa10, 0},
 { "fadd",       0x30000600, 0xfc00e7e0, "Ffa,fb,fT", pa10, 0},
 { "fadd",       0x38000600, 0xfc00e720, "IfA,fB,fT", pa10, 0},
 { "fsub",       0x30002600, 0xfc00e7e0, "Ffa,fb,fT", pa10, 0},

-- 
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]