ARM: Generate condition code setting code based on which codes are set.
authorAli Saidi <Ali.Saidi@ARM.com>
Fri, 13 May 2011 22:27:02 +0000 (17:27 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Fri, 13 May 2011 22:27:02 +0000 (17:27 -0500)
commitb5160ba2c349cb3d913cfdce01f7b11aa13df8ed
tree88058baf396b689fa1d3b1f95240953d6743e8be
parent05866c82f9eb80db05fb423addcc8563efe1b744
ARM: Generate condition code setting code based on which codes are set.

This change further eliminates cases where condition codes were being read
just so they could be written without change because the instruction in
question was supposed to preserve them. This is done by creating the condition
code code based on the input rather than just doing a simple substitution.
src/arch/arm/isa/insts/data.isa