aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/linux-headers/asm/sve_context_arm64.h
diff options
context:
space:
mode:
authororivej <orivej@yandex-team.ru>2022-02-10 16:45:01 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:45:01 +0300
commit2d37894b1b037cf24231090eda8589bbb44fb6fc (patch)
treebe835aa92c6248212e705f25388ebafcf84bc7a1 /contrib/libs/linux-headers/asm/sve_context_arm64.h
parent718c552901d703c502ccbefdfc3c9028d608b947 (diff)
downloadydb-2d37894b1b037cf24231090eda8589bbb44fb6fc.tar.gz
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/linux-headers/asm/sve_context_arm64.h')
-rw-r--r--contrib/libs/linux-headers/asm/sve_context_arm64.h106
1 files changed, 53 insertions, 53 deletions
diff --git a/contrib/libs/linux-headers/asm/sve_context_arm64.h b/contrib/libs/linux-headers/asm/sve_context_arm64.h
index 750b43c7da..1d0e3e1d09 100644
--- a/contrib/libs/linux-headers/asm/sve_context_arm64.h
+++ b/contrib/libs/linux-headers/asm/sve_context_arm64.h
@@ -1,53 +1,53 @@
-/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
-/* Copyright (C) 2017-2018 ARM Limited */
-
-/*
- * For use by other UAPI headers only.
- * Do not make direct use of header or its definitions.
- */
-
-#ifndef __ASM_SVE_CONTEXT_H
-#define __ASM_SVE_CONTEXT_H
-
-#include <linux/types.h>
-
-#define __SVE_VQ_BYTES 16 /* number of bytes per quadword */
-
-#define __SVE_VQ_MIN 1
-#define __SVE_VQ_MAX 512
-
-#define __SVE_VL_MIN (__SVE_VQ_MIN * __SVE_VQ_BYTES)
-#define __SVE_VL_MAX (__SVE_VQ_MAX * __SVE_VQ_BYTES)
-
-#define __SVE_NUM_ZREGS 32
-#define __SVE_NUM_PREGS 16
-
-#define __sve_vl_valid(vl) \
- ((vl) % __SVE_VQ_BYTES == 0 && \
- (vl) >= __SVE_VL_MIN && \
- (vl) <= __SVE_VL_MAX)
-
-#define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES)
-#define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES)
-
-#define __SVE_ZREG_SIZE(vq) ((__u32)(vq) * __SVE_VQ_BYTES)
-#define __SVE_PREG_SIZE(vq) ((__u32)(vq) * (__SVE_VQ_BYTES / 8))
-#define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq)
-
-#define __SVE_ZREGS_OFFSET 0
-#define __SVE_ZREG_OFFSET(vq, n) \
- (__SVE_ZREGS_OFFSET + __SVE_ZREG_SIZE(vq) * (n))
-#define __SVE_ZREGS_SIZE(vq) \
- (__SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - __SVE_ZREGS_OFFSET)
-
-#define __SVE_PREGS_OFFSET(vq) \
- (__SVE_ZREGS_OFFSET + __SVE_ZREGS_SIZE(vq))
-#define __SVE_PREG_OFFSET(vq, n) \
- (__SVE_PREGS_OFFSET(vq) + __SVE_PREG_SIZE(vq) * (n))
-#define __SVE_PREGS_SIZE(vq) \
- (__SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - __SVE_PREGS_OFFSET(vq))
-
-#define __SVE_FFR_OFFSET(vq) \
- (__SVE_PREGS_OFFSET(vq) + __SVE_PREGS_SIZE(vq))
-
-#endif /* ! _UAPI__ASM_SVE_CONTEXT_H */
+/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
+/* Copyright (C) 2017-2018 ARM Limited */
+
+/*
+ * For use by other UAPI headers only.
+ * Do not make direct use of header or its definitions.
+ */
+
+#ifndef __ASM_SVE_CONTEXT_H
+#define __ASM_SVE_CONTEXT_H
+
+#include <linux/types.h>
+
+#define __SVE_VQ_BYTES 16 /* number of bytes per quadword */
+
+#define __SVE_VQ_MIN 1
+#define __SVE_VQ_MAX 512
+
+#define __SVE_VL_MIN (__SVE_VQ_MIN * __SVE_VQ_BYTES)
+#define __SVE_VL_MAX (__SVE_VQ_MAX * __SVE_VQ_BYTES)
+
+#define __SVE_NUM_ZREGS 32
+#define __SVE_NUM_PREGS 16
+
+#define __sve_vl_valid(vl) \
+ ((vl) % __SVE_VQ_BYTES == 0 && \
+ (vl) >= __SVE_VL_MIN && \
+ (vl) <= __SVE_VL_MAX)
+
+#define __sve_vq_from_vl(vl) ((vl) / __SVE_VQ_BYTES)
+#define __sve_vl_from_vq(vq) ((vq) * __SVE_VQ_BYTES)
+
+#define __SVE_ZREG_SIZE(vq) ((__u32)(vq) * __SVE_VQ_BYTES)
+#define __SVE_PREG_SIZE(vq) ((__u32)(vq) * (__SVE_VQ_BYTES / 8))
+#define __SVE_FFR_SIZE(vq) __SVE_PREG_SIZE(vq)
+
+#define __SVE_ZREGS_OFFSET 0
+#define __SVE_ZREG_OFFSET(vq, n) \
+ (__SVE_ZREGS_OFFSET + __SVE_ZREG_SIZE(vq) * (n))
+#define __SVE_ZREGS_SIZE(vq) \
+ (__SVE_ZREG_OFFSET(vq, __SVE_NUM_ZREGS) - __SVE_ZREGS_OFFSET)
+
+#define __SVE_PREGS_OFFSET(vq) \
+ (__SVE_ZREGS_OFFSET + __SVE_ZREGS_SIZE(vq))
+#define __SVE_PREG_OFFSET(vq, n) \
+ (__SVE_PREGS_OFFSET(vq) + __SVE_PREG_SIZE(vq) * (n))
+#define __SVE_PREGS_SIZE(vq) \
+ (__SVE_PREG_OFFSET(vq, __SVE_NUM_PREGS) - __SVE_PREGS_OFFSET(vq))
+
+#define __SVE_FFR_OFFSET(vq) \
+ (__SVE_PREGS_OFFSET(vq) + __SVE_PREGS_SIZE(vq))
+
+#endif /* ! _UAPI__ASM_SVE_CONTEXT_H */