diff options
author | Markus Armbruster <armbru@redhat.com> | 2019-06-04 20:16:18 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2019-06-12 13:20:21 +0200 |
commit | f91005e195e7e1485e60cb121731589960f1a3c9 (patch) | |
tree | e734135671b02f0c6bbf5785006401843e925a06 /tcg/tcg-gvec-desc.h | |
parent | 37677d7db39a3c250ad661d00fb7c3b59d047b1f (diff) | |
download | qemu-f91005e195e7e1485e60cb121731589960f1a3c9.zip qemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.gz qemu-f91005e195e7e1485e60cb121731589960f1a3c9.tar.bz2 |
Supply missing header guards
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190604181618.19980-5-armbru@redhat.com>
Diffstat (limited to 'tcg/tcg-gvec-desc.h')
-rw-r--r-- | tcg/tcg-gvec-desc.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tcg/tcg-gvec-desc.h b/tcg/tcg-gvec-desc.h index 2dda7d6..0224ac3 100644 --- a/tcg/tcg-gvec-desc.h +++ b/tcg/tcg-gvec-desc.h @@ -17,6 +17,9 @@ * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +#ifndef TCG_TCG_GVEC_DESC_H +#define TCG_TCG_GVEC_DESC_H + /* ??? These bit widths are set for ARM SVE, maxing out at 256 byte vectors. */ #define SIMD_OPRSZ_SHIFT 0 #define SIMD_OPRSZ_BITS 5 @@ -47,3 +50,5 @@ static inline int32_t simd_data(uint32_t desc) { return sextract32(desc, SIMD_DATA_SHIFT, SIMD_DATA_BITS); } + +#endif |