// Copyright 2020-2026 XMOS LIMITED.
// This Software is subject to the terms of the XMOS Public Licence: Version 1.

#ifndef ASM_HELPER_H_
#define ASM_HELPER_H_

#include "xmath/xmath_conf.h"

#define EPV_LOG2_S8     5
#define EPV_LOG2_S16    4
#define EPV_LOG2_S32    3
#define EPV_LOG2_C32    2

#define SIZEOF_LOG2_S8  0
#define SIZEOF_LOG2_S16 1
#define SIZEOF_LOG2_S32 2
#define SIZEOF_LOG2_C32 3

#define HR_SUB_S8   7
#define HR_SUB_S16  15
#define HR_SUB_S32  31


    
#endif // ASM_HELPER_H_
