This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB 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]

SIM: Add support for Intel iWMMXt processor


Hi Guys,

  I am applying the attached patch below to add support for Intel's
  iWMMXt processor to the ARM simulator.  (The old armulator based
  one, not the cgen based one).

  There are also some patches for GDB itself but I am holding off on
  submitting these until I can them for multi-arch issues.

Cheers
        Nick

include/gdb/ChangeLog
2003-03-27  Nick Clifton  <nickc at redhat dot com>

	* sim-arm.h (sim_arm_regs): Add iWMMXt registers.

sim/arm/ChangeLog
2003-03-27  Nick Clifton  <nickc at redhat dot com>

	* configure.in: (CON_FLAGS): Define and initialise.
	(COPRO): Add iwmmxt.o if configuring for XScale.
	* configure: Regenerate.
	* Makefile.in (iwmmxt.o): Add rule to build.
	(COM_FLAGS): Define.
	(ALL_FLAGS): Add CON_FLAGS.
	* armcopro.c (ARMul_CoProInit): Initialise iWMMXt coprocessors.
	* armdefs.h (struct ARMul_State): Add 'is_iWMMXt' field.
	(ARM_iWMMXt_Prop): Define.
	* armemu.c (ARMul_Emulate16): Intercept iWMMXt instructions and
	pass to coprocessor.
	* arminit.c (ARMul_NewState): Initialise 'is_iWMMXt'.
	(ARMul_Abort): Catch branches through uninitialised vectors.
	* armos.c (softevtorcode): Update comment.
	(ARMul_OsInit): Use ARMUndefinedInstrV.
	(ARMul_OsHandleSWI): Catch SWIs for unhandled vectors.
	* wrapper.c (sim_create_inferior): Handle iWMMXt processor type.
	(sim_store_register): Handle iWMMXt registers.
	(sim_fetch_register): Handle iWMMXt registers.
	* iwmmxt.h: New file. Exported iWMMXt coprocessor emulator
	functions.
	* iwmmxt.c: New file: iWMMXt emulator.

Attachment: sim.iwmmxt.patch.bz2
Description: iWMMXt simulator patch


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