arm: Clean up m5ops assembly library
authorAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 30 Mar 2016 14:56:02 +0000 (15:56 +0100)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Wed, 30 Mar 2016 14:56:02 +0000 (15:56 +0100)
commit4532a65669a82b5f5d9b08a62368aceb6e70d223
tree9b65ca1b58491b14e0e2a6db5a86b279337f207b
parentbdbd67f2cb72bfa012301f632752bb6347bb7c88
arm: Clean up m5ops assembly library

The m5ops assembly library contains a lot of repetitive code. This
changeset adds two macros, FOREACH_M5OP and FOREACH_M5_ANNOTATION, to
m5ops.h that simplify architecture-specific implementations. The ARM
and ARMv8 m5op implementations have been updated to use the new
macros.

Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-by: Curtis Dunham <curtis.dunham@arm.com>
util/m5/m5op_arm.S
util/m5/m5op_arm_A64.S
util/m5/m5ops.h