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]

Contribution: Intel's iWMMXt processor


Hi Guys,

  I am applying patches to the binutils sources to add support for
  Intel's iWMMXt processor - an ARM variant.  The ChangeLogs are below
  and a compressed patch is attached.

Cheers
        Nick

include/coff/ChangeLog
include/elf/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* arm.h (ARM_NOTE_SECTION): Define.

bfd/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* archures.c: Add bfd_mach_arm_iWMMxt.
	* reloc.c: Add BFD_RELOC_ARM_CP_OFF_IMM_S2.
	* bfd-in2.h: Regenerate.
	* libbfd.h: Regenerate.
	* coff-arm.c (coff_arm_merge_private_bfd_data): Allow iWMMXt
	object files to be linked with XScale ones.
	(coff_arm_final_link_postscript): Update note section.
	* coffcode.h (coff_set_arch_mach_hook): Handle note section.
	* coffgen.c (coff_real_object_p): Call bfd_coff_set_arch_mach_hook
	after identifying a coff binary.
	* cpu-arm.c (processors): Add iWMMXt.
	(arch_inf): Likewise.
	* elf32-arm.h (arm_object_p): Handle note section.
	(elf32_arm_merge_private_bfd_data):  Allow iWMMXt object files to
	be linked with XScale ones.
	(elf32_arm_section_flags): New function: Set flags on note section.
	(elf32_arm_final_write_processing): Handle note section.

opcodes/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* arm-dis.c (regnames): Add iWMMXt register names.
	(set_iwmmxt_regnames): New function.
	(print_insn_arm): Handle iWMMXt formatters.
	* arm-opc.h: Document iWMMXt formatters.
	(arm_opcod): Add iWMMXt instructions.

gas/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* config/tc-arm.c: (ARM_CEXT_IWMMXT, ARM_ARCH_IWMMXT, WR_PREFIX,
	WC_PREFIX, REG_TYPE_IWMMXT): New constants.
	(enum wreg_type, enum iwmmxt_insn_type): New types.
	(wr_register, wc_register, wcg_register): New macros.
	(iwmmxt_table): New variable.
	(wreg_required_here, do_iwmmxt_byte_addr, do_iwmmxt_tandc,
	do_iwmmxt_tbcst, do_iwmmxt_textrc, do_iwmmxt_textrm,
	do_iwmmxt_tinsr, do_iwmmxt_tmcr, do_iwmmxt_tmcrr, do_iwmmxt_tmia,
	do_iwmmxt_tmovmsk, do_iwmmxt_tmrc, do_iwmmxt_tmrrc,
	do_iwmmxt_torc, do_iwmmxt_waligni, do_iwmmxt_wmov,
	do_iwmmxt_word_addr, do_iwmmxt_wrwr, do_iwmmxt_wrwrwcg,
	do_iwmmxt_wrwrwr, do_iwmmxt_wshufh, do_iwmmxt_wzero,
	cp_byte_address_offset, cp_byte_address_required_here,
	check_iwmmxt_insn): New	functions.
	(asm_opcode_insns): Add iWMMXt instructions.	
	(md_begin): Set the mach value for iWMMXt targets.  Create a note
	section to identify iwmmxt binaries.
	(md_apply_fix3): Handle BFD_RELOC_ARM_CP_OFF_IMM_S2.
	* doc/c-arm.texi: Document the support for the iWMMXt.
	* NEWS: Mention new support.

gas/testsuite/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* gas/arm/arm.exp: Run iwmmxt test.
	* gas/arm/iwmmxt.s: New test source file.
	* gas/arm/iwmmxt.d: New test expected results file.
	* gas/elf/elf.exp: Fix section2 test to cope with note section.
	* gas/eld/section2.e-miwxxmt: New test expected results file.

ld/ChangeLog
2003-03-25  Stan Cox   <scox at redhat dot com>
	    Nick Clifton  <nickc at redhat dot com>
	    
	Contribute support for Intel's iWMMXt chip - an	ARM variant:

	* emulparams/armelf.sh (OTHER_READONLY_SECTIONS): Define.
	* emulparams/armelf_linux.sh (OTHER_READONLY_SECTIONS): Define.
	* scripttempl/armcoff.sc (.data): Ensure 8 byte alignment.
	(.bss): Likewise.

Attachment: bin.iwmmxt.patch.bz2
Description: Binutils patch to add iWMMXt support (bzip'ed)


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