X-Git-Url: https://git.xonotic.org/?p=xonotic%2Fgmqcc.git;a=blobdiff_plain;f=gmqcc.h;h=5ac193533538bc9c0805e1c754cb268e360f138b;hp=ff74f45163d098c4e33c1f4684b32201ac7dae5c;hb=e50b7a27191372a333f5c9f3ffbbfaab9fb85522;hpb=701363347fa3f231ed8b973503935d596aae57eb diff --git a/gmqcc.h b/gmqcc.h index ff74f45..5ac1935 100644 --- a/gmqcc.h +++ b/gmqcc.h @@ -35,13 +35,13 @@ #endif /*! _MSC_VER */ #define GMQCC_VERSION_MAJOR 0 -#define GMQCC_VERSION_MINOR 3 +#define GMQCC_VERSION_MINOR 4 #define GMQCC_VERSION_PATCH 0 #define GMQCC_VERSION_BUILD(J,N,P) (((J)<<16)|((N)<<8)|(P)) #define GMQCC_VERSION \ GMQCC_VERSION_BUILD(GMQCC_VERSION_MAJOR, GMQCC_VERSION_MINOR, GMQCC_VERSION_PATCH) /* Undefine the following on a release-tag: */ -/*#define GMQCC_VERSION_TYPE_DEVEL*/ +#define GMQCC_VERSION_TYPE_DEVEL /* Full version string in case we need it */ #ifdef GMQCC_VERSION_TYPE_DEVEL @@ -717,7 +717,16 @@ enum { * Creating this causes IR blocks to be marked as 'final'. * No-Return-Call */ - VINSTR_NRCALL + VINSTR_NRCALL, + + /* Emulated instructions. */ + VINSTR_BITAND_V, /* BITAND_V must be the first emulated bitop */ + VINSTR_BITAND_VF, + VINSTR_BITOR_V, + VINSTR_BITOR_VF, + VINSTR_BITXOR, + VINSTR_BITXOR_V, + VINSTR_BITXOR_VF /* BITXOR_VF must be the last emulated bitop */ }; /* TODO: elide */