Skip to content

Commit

Permalink
Remove duplicate macro definitions __sve_vl_from_vq and __SVE_ZREG_SIZE
Browse files Browse the repository at this point in the history
  • Loading branch information
AssadHashmi committed Mar 26, 2024
1 parent 2de41c7 commit e6effcc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions core/unix/include/sigcontext.h
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,7 @@ struct esr_context {
((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)

Expand Down

0 comments on commit e6effcc

Please sign in to comment.