This patch adds the appropriate macros, tests and codec entries to encode the following variants:
REV <Pd>.<Ts>, <Pn>.<Ts>
REV <Zd>.<Ts>, <Zn>.<Ts>
REVB <Zd>.<Ts>, <Pg>/M, <Zn>.<Ts>
REVH <Zd>.<Ts>, <Pg>/M, <Zn>.<Ts>
REVW <Zd>.D, <Pg>/M, <Zn>.D
COMPACT <Zd>.<Ts>, <Pg>, <Zn>.<Ts>
Issue #3044