target-arm: sort TCG cpreg list by KVM-style 64 bit ID number
commitcbf239b76934c8c2d1e147372ef9478ecc39fdfb
authorAlvise Rigo <a.rigo@virtualopensystems.com>
Fri, 11 Oct 2013 17:38:44 +0000 (11 19:38 +0200)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Thu, 31 Oct 2013 13:00:16 +0000 (31 14:00 +0100)
tree5fc748c82cd5401054bbc2e3e2e840fd672b6837
parent8641136c54d216edb5bb8ef723c754039b4c5cf3
target-arm: sort TCG cpreg list by KVM-style 64 bit ID number

Both KVM and TCG populate the cpreg_list with 64 bit register IDs,
but in the TCG side the cpreg_list is sorted using the 32 bit ID
version while in the kvm side the 64 bit ID version is used.  This
patch makes the sorting of the cpreg_list consistent between KVM and
TCG.

Signed-off-by: Alvise Rigo <a.rigo@virtualopensystems.com>
Message-id: 1381513125-26802-1-git-send-email-a.rigo@virtualopensystems.com
[PMM: fixed indent, coding style and commit message formatting]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/helper.c