* gas/config/tc-arm.c (arm_ext_mp): Add.
(do_pld): Update comment. (insns): Add support for pldw. (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support MP extension. (arm_extensions): Add 'mp' extension. (aeabi_set_public_attributes): Emit correct build attribute when MP extension is enabled. * gas/doc/c-arm.texi: Update for MP extensions. * gas/testsuite/gas/arm/arch7a-mp.d: Add. * gas/testsuite/gas/arm/arch7ar-mp.s: Likewise. * gas/testsuite/gas/arm/arch7r-mp.d: Likewise. * gas/testsuite/gas/arm/armv2-mp-bad.d: Likewise. * gas/testsuite/gas/arm/armv2-mp-bad.l: Likewise. * gas/testsuite/gas/arm/attr-march-all.d: Update for MP extension. * gas/testsuite/gas/arm/attr-march-armv7-a+mp.d: Add. * gas/testsuite/gas/arm/attr-march-armv7-r+mp.d: Likewise. * include/opcode/arm.h (ARM_EXT_MP): Add. (ARM_ARCH_V7A_MP): Likewise. * opcodes/arm-dis.c (arm_opcodes): Add support for pldw. (thumb32_opcodes): Likewise.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | ||||
| 2010-09-23  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com> | ||||
|  | ||||
| 	* arm.h (ARM_EXT_MP): Add. | ||||
| 	(ARM_ARCH_V7A_MP): Likewise. | ||||
|  | ||||
| 2010-09-22  Mike Frysinger  <vapier@gentoo.org> | ||||
|  | ||||
| 	* bfin.h: Declare pseudoChr structs/defines. | ||||
|   | ||||
| @@ -49,6 +49,7 @@ | ||||
| #define ARM_EXT_THUMB_MSR 0x02000000	/* Thumb MSR/MRS.	    */ | ||||
| #define ARM_EXT_V6_DSP 0x04000000	/* ARM v6 (DSP-related), | ||||
| 					   not in v7-M.  */ | ||||
| #define ARM_EXT_MP       0x08000000     /* Multiprocessing Extensions.  */ | ||||
|  | ||||
| /* Co-processor space extensions.  */ | ||||
| #define ARM_CEXT_XSCALE   0x00000001	/* Allow MIA etc.          */ | ||||
| @@ -209,6 +210,7 @@ | ||||
| #define ARM_ANY		ARM_FEATURE (-1, 0)	/* Any basic core.  */ | ||||
| #define FPU_ANY_HARD	ARM_FEATURE (0, FPU_FPA | FPU_VFP_HARD | FPU_MAVERICK) | ||||
| #define ARM_ARCH_THUMB2 ARM_FEATURE (ARM_EXT_V6T2 | ARM_EXT_V7 | ARM_EXT_V7A | ARM_EXT_V7R | ARM_EXT_V7M | ARM_EXT_DIV, 0) | ||||
| #define ARM_ARCH_V7A_MP ARM_FEATURE (ARM_AEXT_V7A | ARM_EXT_MP, 0) | ||||
|  | ||||
| /* There are too many feature bits to fit in a single word, so use a | ||||
|    structure.  For simplicity we put all core features in one word and | ||||
|   | ||||
		Reference in New Issue
	
	Block a user