arch-power: Implement mcrxr
authorBoris Shingarov <shingarov@labware.com>
Sun, 8 Nov 2020 18:42:47 +0000 (13:42 -0500)
committerBoris Shingarov <shingarov@gmail.com>
Tue, 10 Nov 2020 15:23:14 +0000 (15:23 +0000)
commiteb778327b35c41855e00b069fe8ad24d1fed9565
tree803cfc6033d0d7899bc75c3161fd50242a1740e1
parentb12422c79b1b5d30afb89d006cf777424729652d
arch-power: Implement mcrxr

Implement the mcrxr instruction (Move to Condition Register from XER
X-form) as defined on p.132 of the green-cloth book:
The contents of XER<0:3> are copied into the Condition Register field
designated by BF.  XER<0:3> are set to zero.

Change-Id: I82ae3d98e1eaf9182e90c0c86afe0f13d4a052e4
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/37295
Reviewed-by: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Boris Shingarov <shingarov@gmail.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/power/isa/decoder.isa