Удален старые сурсы. Проект компилится но не проверен в симулинке

This commit is contained in:
2025-03-25 14:55:28 +03:00
parent 4556b453db
commit 7b6cc2fa50
41 changed files with 255 additions and 7436 deletions

View File

@@ -81,10 +81,6 @@ MSVC.
#define __UNALIGNED_UINT32_READ(addr) (*((const __packed uint32_t *)(addr)))
#endif
#ifndef __ALIGNED
#define __ALIGNED(x) __attribute__((aligned(x)))
#endif
#ifndef __RESTRICT
#define __RESTRICT __restrict
#endif
@@ -165,14 +161,14 @@ MSVC.
#define __REVSH(value) value
/**
\brief Rotate Right in unsigned value (32 bit)
\details Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
\param [in] op1 Value to rotate
\param [in] op2 Number of Bits to rotate
\return Rotated value
*/
#define __ROR()
// /**
// \brief Rotate Right in unsigned value (32 bit)
// \details Rotate Right (immediate) provides the value of the contents of a register rotated by a variable number of bits.
// \param [in] op1 Value to rotate
// \param [in] op2 Number of Bits to rotate
// \return Rotated value
// */
//#define __ROR()
/**
@@ -191,15 +187,15 @@ MSVC.
\param [in] value Value to reverse
\return Reversed value
*/
#define __RBIT() _byteswap_ulong(_rotr(value, 16))
#define __RBIT(value) _byteswap_ulong(_rotr(value, 16))
/**
\brief Count leading zeros
\details Counts the number of leading zeros of a data value.
\param [in] value Value to count the leading zeros
\return number of leading zeros in value
*/
#define __CLZ() __lzcnt(value)
// /**
// \brief Count leading zeros
// \details Counts the number of leading zeros of a data value.
// \param [in] value Value to count the leading zeros
// \return number of leading zeros in value
// */
//#define __CLZ(value) __lzcnt(value)
/**
@@ -270,22 +266,22 @@ MSVC.
/**
\brief Signed Saturate
\details Saturates a signed value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (1..32)
\return Saturated value
*/
#define __SSAT
// /**
// \brief Signed Saturate
// \details Saturates a signed value.
// \param [in] value Value to be saturated
// \param [in] sat Bit position to saturate to (1..32)
// \return Saturated value
// */
//#define __SSAT
/**
\brief Unsigned Saturate
\details Saturates an unsigned value.
\param [in] value Value to be saturated
\param [in] sat Bit position to saturate to (0..31)
\return Saturated value
*/
#define __USAT
// /**
// \brief Unsigned Saturate
// \details Saturates an unsigned value.
// \param [in] value Value to be saturated
// \param [in] sat Bit position to saturate to (0..31)
// \return Saturated value
// */
//#define __USAT