Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [applied patch] tweak MIPS sim pref/prefx instructions.
@ 2002-02-27 23:01 cgd
  2002-02-27 23:09 ` cgd
  0 siblings, 1 reply; 2+ messages in thread
From: cgd @ 2002-02-27 23:01 UTC (permalink / raw)
  To: gdb-patches

the intent is obvious.  verified that mips64-elf sim still compiles.


chris
===================================================================
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

	* mips.igen (PREFX): Tweak instruction opcode fields (i.e.,
	add a comma) so that it more closely match the MIPS ISA
	documentation opcode partitioning.
	(PREF): Put useful names on opcode fields, and include
	instruction-printing string.

Index: mips.igen
===================================================================
RCS file: /cvs/src/src/sim/mips/mips.igen,v
retrieving revision 1.15
diff -u -r1.15 mips.igen
--- mips.igen	2002/02/28 02:57:34	1.15
+++ mips.igen	2002/02/28 06:57:29
@@ -2083,7 +2083,8 @@
 }
 
 
-110011,5.RS,nnnnn,16.OFFSET:NORMAL:32::PREF
+110011,5.BASE,5.HINT,16.OFFSET:NORMAL:32::PREF
+"pref <HINT>, <OFFSET>(r<BASE>)"
 *mipsIV:
 *mipsV:
 *vr5000:
@@ -3974,7 +3975,7 @@
 }
 
 
-010011,5.BASE,5.INDEX,5.HINT,00000001111:COP1X:32::PREFX
+010011,5.BASE,5.INDEX,5.HINT,00000,001111:COP1X:32::PREFX
 "prefx <HINT>, r<INDEX>(r<BASE>)"
 *mipsIV:
 *mipsV:


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [applied patch] tweak MIPS sim pref/prefx instructions.
  2002-02-27 23:01 [applied patch] tweak MIPS sim pref/prefx instructions cgd
@ 2002-02-27 23:09 ` cgd
  0 siblings, 0 replies; 2+ messages in thread
From: cgd @ 2002-02-27 23:09 UTC (permalink / raw)
  To: gdb-patches

oops, forgot one part of that last...

===================================================================
2002-02-27  Chris Demetriou  <cgd@broadcom.com>

	* mips.igen (PREFX): This is a 64-bit instruction, use '64'
	as the filter flag.

Index: mips.igen
===================================================================
RCS file: /cvs/src/src/sim/mips/mips.igen,v
retrieving revision 1.16
diff -u -r1.16 mips.igen
--- mips.igen	2002/02/28 07:01:14	1.16
+++ mips.igen	2002/02/28 07:06:28
@@ -3975,7 +3975,7 @@
 }
 
 
-010011,5.BASE,5.INDEX,5.HINT,00000,001111:COP1X:32::PREFX
+010011,5.BASE,5.INDEX,5.HINT,00000,001111:COP1X:64::PREFX
 "prefx <HINT>, r<INDEX>(r<BASE>)"
 *mipsIV:
 *mipsV:


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-02-28  7:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-02-27 23:01 [applied patch] tweak MIPS sim pref/prefx instructions cgd
2002-02-27 23:09 ` cgd

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox