3
# Ensure Inkscape is execshield protected
4
.section .note.GNU-stack
9
.globl nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P
10
.type nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P,@function
13
* This code is in public domain
43
nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P:
51
/* Load %mm7 with [0 0 0 0] */
55
/* Load %mm6 with [128 128 128 128] */
56
movl $0x80808080, %eax
60
/* Load %mm5 with [255 255 255 255] */
61
movl $0xffffffff, %eax
65
/* Load %mm0 with [a a a a] */
66
/* Check full opacity */
88
/* fixme: Do we have to bother about alignment here? (Lauris) */
90
testl $0xff000000, %eax
103
/* [255 - FgA] -> mm2 */
113
/* Fg + ((255 - FgA) * Bg) / 255 */
170
/* fixme: Do we have to bother about alignment here? (Lauris) */
172
testl $0xff000000, %eax
174
cmpl $0xff000000, %eax
179
/* [255 - FgA] -> mm2 */
189
/* Fg + ((255 - FgA) * Bg) / 255 */
226
.size nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P,.Lfe1-nr_mmx_R8G8B8_R8G8B8_R8G8B8A8_P
227
.ident "GCC: (GNU) 3.2"