Browse Source
Merge pull request #4202 from TiborGY/inlines_pt2
Remove some unused inline macro definitions
tags/v0.3.29
Martin Kroeker
GitHub
11 months ago
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with
1 additions and
20 deletions
-
common_arm.h
-
common_arm64.h
-
common_e2k.h
-
common_loongarch64.h
-
common_mips.h
-
common_mips64.h
-
common_power.h
-
common_riscv64.h
-
common_zarch.h
|
|
@@ -47,8 +47,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#define RETURN_BY_COMPLEX |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|
|
|
@@ -44,8 +44,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define RMB __asm__ __volatile__ ("dmb ishld" : : : "memory") |
|
|
|
#endif |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#if defined( F_INTERFACE_FLANG) || defined(F_INTERFACE_PGI) |
|
|
|
#define RETURN_BY_STACK |
|
|
|
#else |
|
|
|
|
|
@@ -41,8 +41,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB do { __asm__ __volatile__("": : :"memory"); } while (0) |
|
|
|
#define RMB |
|
|
|
|
|
|
|
#define INLINE __attribute__((__always_inline__)) inline |
|
|
|
|
|
|
|
static inline int blas_quickdivide(blasint x, blasint y) { |
|
|
|
return x / y; |
|
|
|
} |
|
|
|
|
|
@@ -75,8 +75,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB __sync_synchronize() |
|
|
|
#define RMB __sync_synchronize() |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|
|
|
|
|
static inline int blas_quickdivide(blasint x, blasint y){ |
|
|
|
|
|
@@ -37,8 +37,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB __sync_synchronize() |
|
|
|
#define RMB __sync_synchronize() |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#define RETURN_BY_COMPLEX |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|
|
|
@@ -75,8 +75,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB __sync_synchronize() |
|
|
|
#define RMB __sync_synchronize() |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|
|
|
|
|
static inline unsigned int rpcc(void){ |
|
|
|
|
|
@@ -78,8 +78,6 @@ |
|
|
|
#define RMB __asm__ __volatile__ ("sync") |
|
|
|
#endif |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#ifdef PPC440 |
|
|
|
#define STDERR stdout |
|
|
|
#define QNONCACHE 0x1 |
|
|
@@ -91,7 +89,7 @@ |
|
|
|
|
|
|
|
void *qalloc(int flags, size_t bytes); |
|
|
|
|
|
|
|
static INLINE void blas_lock(volatile unsigned long *address){ |
|
|
|
static inline void blas_lock(volatile unsigned long *address){ |
|
|
|
|
|
|
|
long int ret, val = 1; |
|
|
|
|
|
|
|
|
|
@@ -75,8 +75,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB __sync_synchronize() |
|
|
|
#define RMB __sync_synchronize() |
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|
|
|
|
|
|
|
|
|
|
|
@@ -37,9 +37,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
|
|
|
#define WMB |
|
|
|
#define RMB |
|
|
|
|
|
|
|
|
|
|
|
#define INLINE inline |
|
|
|
|
|
|
|
#define RETURN_BY_COMPLEX |
|
|
|
|
|
|
|
#ifndef ASSEMBLER |
|
|
|