Cortex-R5 support

Paul Brook paul@codesourcery.com
Wed Jun 1 14:17:00 GMT 2011


The attached patch dds support for the ARM Cortex-R5 CPU.
The main relevant feature is that the integer division instructions are 
supported in both ARM and Thumb mode.  To achive this I've allowed the "idiv" 
architecture extension for both A and R base profiles.

Tested on arm-none-eabi
Applied to CVS head.

Paul

2011-05-31  Paul Brook  <paul@codesourcery.com>

	gas/
	* config/tc-arm.c (arm_cpus): Add Cortex-R5.
	(arm_extensions): Allow idiv on ARMv7-R.
	* doc/c-arm.text: Update idiv extension restrictions.

	gas/testsuite/
	* gas/arm/arm-idiv-bad.d: New test.
	* gas/arm/arm-idiv-bad.s: New test.
	* gas/arm/arm-idiv-bad.l: New test.
	* gas/arm/arm-idiv.d: New test.
	* gas/arm/arm-idiv.s: New test.

	include/
	* opcode/arm.h (ARM_ARCH_V7R_IDIV): Define.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 3706 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110601/cd287261/attachment.bin>


More information about the Binutils mailing list