x86: Add a "CondInst" format for conditionally decoded instructions.
authorGabe Black <gabeblack@google.com>
Fri, 25 Aug 2017 00:05:20 +0000 (17:05 -0700)
committerGabe Black <gabeblack@google.com>
Mon, 28 Aug 2017 20:56:25 +0000 (20:56 +0000)
commit544eba88b94b693319eca6a2569f38449465b678
tree5e3cfb1dee9b1b7310e6e4606c4901273d23da37
parent5ac888b8bf1c4a2f3cf699c75f6df304246c96a4
x86: Add a "CondInst" format for conditionally decoded instructions.

A condition can be specified which will tell the decoder whether to return
the instruction being requested, or, if the condition fails, UD2.

Change-Id: I0f1c075deb10754ce1dd88be1726a196294e41fd
Reviewed-on: https://gem5-review.googlesource.com/4580
Reviewed-by: Michael LeBeane <Michael.Lebeane@amd.com>
Maintainer: Gabe Black <gabeblack@google.com>
src/arch/x86/isa/formats/cond.isa [new file with mode: 0644]
src/arch/x86/isa/formats/formats.isa