Compare commits
2 Commits
af97c7c08e
...
0f378ef87f
Author | SHA1 | Date |
---|---|---|
Kim Woelders | 0f378ef87f | |
Kim Woelders | e9a89df496 |
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_AMD64_ASM
|
||||
|
||||
/*\
|
||||
|*| AMD64 SSE2 assembly blending routines for Imlib2
|
||||
|*| Written by John Slaten <zartheenumerator@comcast.net>
|
||||
|
@ -98,10 +96,8 @@ FN_(imlib_amd64_reshade_copy_rgb_to_rgba)
|
|||
\*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define ENTER \
|
||||
ENDBR_ ; \
|
||||
pushq %rbp ; \
|
||||
movq %rsp, %rbp ; \
|
||||
pushq %rbx ; \
|
||||
|
@ -5521,8 +5517,6 @@ PR_(imlib_amd64_reshade_copy_rgb_to_rgba):
|
|||
LEAVE
|
||||
SIZE(imlib_amd64_reshade_copy_rgb_to_rgba)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_AMD64_ASM
|
||||
|
||||
/*\
|
||||
|*| AMD64 SSE2 assembly blending routines for Imlib2
|
||||
|*| Written by John Slaten <zartheenumerator@comcast.net>
|
||||
|
@ -106,14 +104,8 @@ FN_(imlib_amd64_reshade_copy_rgb_to_rgba_cmod)
|
|||
\*/
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#define ENTER \
|
||||
ENDBR_ ; \
|
||||
pushq %rbp ; \
|
||||
movq %rsp, %rbp ; \
|
||||
pushq %rbx ; \
|
||||
|
@ -16778,8 +16770,6 @@ PR_(imlib_amd64_reshade_copy_rgb_to_rgba_cmod):
|
|||
LEAVE
|
||||
SIZE(imlib_amd64_reshade_copy_rgb_to_rgba_cmod)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -17,4 +17,14 @@
|
|||
.size PR_(sym),.-PR_(sym); \
|
||||
.align 8;
|
||||
|
||||
#ifdef __CET__
|
||||
#if defined(DO_MMX_ASM)
|
||||
#define ENDBR_ endbr32
|
||||
#elif defined(DO_AMD64_ASM)
|
||||
#define ENDBR_ endbr64
|
||||
#endif
|
||||
#else
|
||||
#define ENDBR_
|
||||
#endif
|
||||
|
||||
#endif /* __ASM_H */
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_MMX_ASM
|
||||
|
||||
/*\
|
||||
|*| MMX assembly blending routines for Imlib2
|
||||
|*| Written by Willem Monsuwe <willem@stack.nl>
|
||||
|
@ -63,6 +61,7 @@ FN_(imlib_mmx_reshade_copy_rgb_to_rgba)
|
|||
/*\ Common code \*/
|
||||
/*\ Set MMX mode, save registers, load common parameters \*/
|
||||
#define ENTER \
|
||||
ENDBR_ ;\
|
||||
pushl %ebp ;\
|
||||
movl %esp, %ebp ;\
|
||||
pushl %ebx ;\
|
||||
|
@ -95,7 +94,6 @@ FN_(imlib_mmx_reshade_copy_rgb_to_rgba)
|
|||
decl %edx ;\
|
||||
jns 8b
|
||||
|
||||
|
||||
/*\ Unset MMX mode, reset registers, return \*/
|
||||
#define LEAVE \
|
||||
9: ;\
|
||||
|
@ -1024,8 +1022,6 @@ PR_(imlib_mmx_reshade_copy_rgb_to_rgba):
|
|||
|
||||
SIZE(imlib_mmx_reshade_copy_rgb_to_rgba)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_MMX_ASM
|
||||
|
||||
/*\
|
||||
|*| MMX assembly blending routines, with colour modding, for Imlib2
|
||||
|*| Written by Willem Monsuwe <willem@stack.nl>
|
||||
|
@ -81,6 +79,7 @@ FN_(imlib_mmx_reshade_copy_rgb_to_rgba_cmod)
|
|||
/*\ Common code \*/
|
||||
/*\ Set MMX mode, save registers, load common parameters \*/
|
||||
#define ENTER \
|
||||
ENDBR_ ;\
|
||||
pushl %ebp ;\
|
||||
movl %esp, %ebp ;\
|
||||
pushl %ebx ;\
|
||||
|
@ -113,7 +112,6 @@ FN_(imlib_mmx_reshade_copy_rgb_to_rgba_cmod)
|
|||
decl %edx ;\
|
||||
jns 8b
|
||||
|
||||
|
||||
/*\ Unset MMX mode, reset registers, return \*/
|
||||
#define LEAVE \
|
||||
9: ;\
|
||||
|
@ -1563,8 +1561,6 @@ PR_(imlib_mmx_reshade_copy_rgb_to_rgba_cmod):
|
|||
|
||||
SIZE(imlib_mmx_reshade_copy_rgb_to_rgba_cmod)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_MMX_ASM
|
||||
|
||||
/*\
|
||||
|*| MMX assembly rgba rendering routines for Imlib2
|
||||
|*| Written by Willem Monsuwe <willem@stack.nl>
|
||||
|
@ -38,6 +36,7 @@ FN_(imlib_get_cpuid)
|
|||
/*\ Common code \*/
|
||||
/*\ Save registers, load common parameters \*/
|
||||
#define ENTER \
|
||||
ENDBR_; \
|
||||
pushl %ebp; \
|
||||
movl %esp, %ebp; \
|
||||
pushl %ebx; \
|
||||
|
@ -81,7 +80,6 @@ FN_(imlib_get_cpuid)
|
|||
ret
|
||||
|
||||
|
||||
|
||||
PR_(imlib_mmx_bgr565_fast):
|
||||
LOAD_IMMQ(mul_bgr565, %mm7) /*\ This constant is the only difference \*/
|
||||
CLEANUP_IMMQ_LOADS(1)
|
||||
|
@ -273,8 +271,6 @@ PR_(imlib_get_cpuid):
|
|||
|
||||
SIZE(imlib_get_cpuid)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_MMX_ASM
|
||||
|
||||
/*\
|
||||
|*| MMX assembly rotation routine for Imlib2
|
||||
|*| Written by Willem Monsuwe <willem@stack.nl>
|
||||
|
@ -447,8 +445,6 @@ PR_(imlib_mmx_RotateAA):
|
|||
|
||||
SIZE(imlib_mmx_RotateAA)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
#include <config.h>
|
||||
#include "asm.h"
|
||||
|
||||
#ifdef DO_MMX_ASM
|
||||
|
||||
/*\
|
||||
|*| MMX assembly scaling routine for Imlib2
|
||||
|*| Written by Willem Monsuwe <willem@stack.nl>
|
||||
|
@ -788,8 +786,6 @@ PR_(imlib_Scale_mmx_AARGBA):
|
|||
|
||||
SIZE(imlib_Scale_mmx_AARGBA)
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef __ELF__
|
||||
.section .note.GNU-stack,"",@progbits
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue