arm64: copy conditional instruction tests from arm
authorAlex Van Brunt <avanbrunt@nvidia.com>
Thu, 30 Jan 2014 23:07:34 +0000 (15:07 -0800)
committerGreg Hackmann <ghackmann@google.com>
Fri, 12 Sep 2014 20:32:56 +0000 (13:32 -0700)
commit51ee4b18842045289a9557c9d5f817f1c16a8bd8
tree227cb39e5ca2817b428faab86f8355779a103ad0
parentd7592de8d09e5834d5ef54c842ffae6fccf92a25
arm64: copy conditional instruction tests from arm

Copy the code that is used to compute if a conditional instruction
would be executed.

This code is needed to support A32 instruction emulation in the
kernel.

Change-Id: I0bab7537efd8cc317bd20995cd36961cf95165aa
Signed-off-by: Alex Van Brunt <avanbrunt@nvidia.com>
Reviewed-on: http://git-master/r/362154
Reviewed-on: http://git-master/r/365061
Reviewed-by: Richard Wiley <rwiley@nvidia.com>
Tested-by: Oskari Jaaskelainen <oskarij@nvidia.com>
arch/arm64/include/asm/opcodes.h [new file with mode: 0644]
arch/arm64/kernel/Makefile
arch/arm64/kernel/opcodes.c [new file with mode: 0644]