[Bf-blender-cvs] [a2bc805] temp-modifier-deltamush-experimental: Edit modifier defaults

Campbell Barton noreply at git.blender.org
Mon Mar 30 20:21:05 CEST 2015


Commit: a2bc805becfe804a58c817e2a134a556eb7284dd
Author: Campbell Barton
Date:   Tue Mar 31 01:54:39 2015 +1100
Branches: temp-modifier-deltamush-experimental
https://developer.blender.org/rBa2bc805becfe804a58c817e2a134a556eb7284dd

Edit modifier defaults

===================================================================

A	source/blender/modifiers/intern/MOD_deltamush.c.asm
A	source/blender/modifiers/intern/MOD_deltamush.c.asm.1
A	source/blender/modifiers/intern/MOD_deltamush.c.asm.2

===================================================================

diff --git a/source/blender/modifiers/intern/MOD_deltamush.c.asm b/source/blender/modifiers/intern/MOD_deltamush.c.asm
new file mode 100644
index 0000000..db235e6
--- /dev/null
+++ b/source/blender/modifiers/intern/MOD_deltamush.c.asm
@@ -0,0 +1,4639 @@
+	.file	"MOD_deltamush.c"
+	.section	.text.unlikely,"ax", at progbits
+.LCOLDB1:
+	.text
+.LHOTB1:
+	.p2align 4,,15
+	.type	initData, @function
+initData:
+.LASANPC261:
+.LFB261:
+	.cfi_startproc
+	subq	$24, %rsp
+	.cfi_def_cfa_offset 32
+	movq	%fs:40, %rax
+	movq	%rax, 8(%rsp)
+	xorl	%eax, %eax
+	leaq	190(%rdi), %rax
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L2
+	movq	%rax, %rcx
+	andl	$7, %ecx
+	addl	$1, %ecx
+	cmpb	%dl, %cl
+	jge	.L42
+.L2:
+	leaq	112(%rdi), %rax
+	movl	$8, %edx
+	movw	%dx, 190(%rdi)
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	cmpb	$0, 2147450880(%rdx)
+	jne	.L43
+	leaq	192(%rdi), %rax
+	movq	$0, 112(%rdi)
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L4
+	movq	%rax, %rcx
+	andl	$7, %ecx
+	addl	$3, %ecx
+	cmpb	%dl, %cl
+	jge	.L44
+.L4:
+	leaq	200(%rdi), %rax
+	movl	$0, 192(%rdi)
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	cmpb	$0, 2147450880(%rdx)
+	jne	.L45
+	leaq	120(%rdi), %rax
+	movq	$0, 200(%rdi)
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L6
+	movq	%rax, %rcx
+	andl	$7, %ecx
+	addl	$3, %ecx
+	cmpb	%dl, %cl
+	jge	.L46
+.L6:
+	leaq	188(%rdi), %rax
+	movl	$0x3f000000, 120(%rdi)
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L7
+	movq	%rax, %rcx
+	andl	$7, %ecx
+	addl	$1, %ecx
+	cmpb	%dl, %cl
+	jge	.L47
+.L7:
+	movl	$5, %eax
+	movw	%ax, 188(%rdi)
+	leaq	124(%rdi), %rax
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L8
+	movq	%rax, %rcx
+	andl	$7, %ecx
+	cmpb	%cl, %dl
+	jle	.L48
+.L8:
+	movq	8(%rsp), %rax
+	xorq	%fs:40, %rax
+	movb	$0, 124(%rdi)
+	jne	.L49
+	addq	$24, %rsp
+	.cfi_remember_state
+	.cfi_def_cfa_offset 8
+	ret
+.L48:
+	.cfi_restore_state
+	movq	%rax, %rdi
+	call	__asan_report_store1 at PLT
+.L47:
+	movq	%rax, %rdi
+	call	__asan_report_store2 at PLT
+.L46:
+	movq	%rax, %rdi
+	call	__asan_report_store4 at PLT
+.L44:
+	movq	%rax, %rdi
+	call	__asan_report_store4 at PLT
+.L42:
+	movq	%rax, %rdi
+	call	__asan_report_store2 at PLT
+.L49:
+	call	__stack_chk_fail at PLT
+.L45:
+	movq	%rax, %rdi
+	call	__asan_report_store8 at PLT
+.L43:
+	movq	%rax, %rdi
+	call	__asan_report_store8 at PLT
+	.cfi_endproc
+.LFE261:
+	.size	initData, .-initData
+	.section	.text.unlikely
+.LCOLDE1:
+	.text
+.LHOTE1:
+	.section	.text.unlikely
+.LCOLDB2:
+	.text
+.LHOTB2:
+	.p2align 4,,15
+	.type	requiredDataMask, @function
+requiredDataMask:
+.LASANPC265:
+.LFB265:
+	.cfi_startproc
+	leaq	124(%rsi), %rdi
+	subq	$24, %rsp
+	.cfi_def_cfa_offset 32
+	movq	%fs:40, %rax
+	movq	%rax, 8(%rsp)
+	xorl	%eax, %eax
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	movzbl	2147450880(%rax), %eax
+	testb	%al, %al
+	je	.L51
+	movq	%rdi, %rdx
+	andl	$7, %edx
+	cmpb	%dl, %al
+	jle	.L62
+.L51:
+	cmpb	$1, 124(%rsi)
+	sbbq	%rax, %rax
+	notq	%rax
+	andl	$4, %eax
+	movq	8(%rsp), %rcx
+	xorq	%fs:40, %rcx
+	jne	.L63
+	addq	$24, %rsp
+	.cfi_remember_state
+	.cfi_def_cfa_offset 8
+	ret
+.L62:
+	.cfi_restore_state
+	call	__asan_report_load1 at PLT
+.L63:
+	call	__stack_chk_fail at PLT
+	.cfi_endproc
+.LFE265:
+	.size	requiredDataMask, .-requiredDataMask
+	.section	.text.unlikely
+.LCOLDE2:
+	.text
+.LHOTE2:
+	.section	.text.unlikely
+.LCOLDB3:
+	.text
+.LHOTB3:
+	.p2align 4,,15
+	.type	copyData, @function
+copyData:
+.LASANPC262:
+.LFB262:
+	.cfi_startproc
+	pushq	%rbp
+	.cfi_def_cfa_offset 16
+	.cfi_offset 6, -16
+	pushq	%rbx
+	.cfi_def_cfa_offset 24
+	.cfi_offset 3, -24
+	movq	%rdi, %rbx
+	movq	%rsi, %rbp
+	subq	$24, %rsp
+	.cfi_def_cfa_offset 48
+	movq	%fs:40, %rax
+	movq	%rax, 8(%rsp)
+	xorl	%eax, %eax
+	call	modifier_copyData_generic at PLT
+	leaq	112(%rbx), %rdi
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	cmpb	$0, 2147450880(%rax)
+	jne	.L74
+	movq	112(%rbx), %rdi
+	testq	%rdi, %rdi
+	je	.L64
+	movq	MEM_dupallocN at GOTPCREL(%rip), %rax
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	cmpb	$0, 2147450880(%rdx)
+	jne	.L75
+	call	*(%rax)
+	leaq	112(%rbp), %rdi
+	movq	%rdi, %rdx
+	shrq	$3, %rdx
+	cmpb	$0, 2147450880(%rdx)
+	jne	.L76
+	movq	%rax, 112(%rbp)
+.L64:
+	movq	8(%rsp), %rax
+	xorq	%fs:40, %rax
+	jne	.L77
+	addq	$24, %rsp
+	.cfi_remember_state
+	.cfi_def_cfa_offset 24
+	popq	%rbx
+	.cfi_def_cfa_offset 16
+	popq	%rbp
+	.cfi_def_cfa_offset 8
+	ret
+.L77:
+	.cfi_restore_state
+	call	__stack_chk_fail at PLT
+.L76:
+	call	__asan_report_store8 at PLT
+.L75:
+	movq	%rax, %rdi
+	call	__asan_report_load8 at PLT
+.L74:
+	call	__asan_report_load8 at PLT
+	.cfi_endproc
+.LFE262:
+	.size	copyData, .-copyData
+	.section	.text.unlikely
+.LCOLDE3:
+	.text
+.LHOTE3:
+	.section	.rodata
+	.align 32
+.LC5:
+	.string	"delta mush boundary data"
+	.zero	39
+	.align 32
+.LC7:
+	.string	"delta mush smoothing data"
+	.zero	38
+	.align 32
+.LC9:
+	.string	"delta mush weight cache"
+	.zero	40
+	.section	.text.unlikely
+.LCOLDB10:
+	.text
+.LHOTB10:
+	.p2align 4,,15
+	.type	smooth_verts, @function
+smooth_verts:
+.LASANPC269:
+.LFB269:
+	.cfi_startproc
+	pushq	%r15
+	.cfi_def_cfa_offset 16
+	.cfi_offset 15, -16
+	pushq	%r14
+	.cfi_def_cfa_offset 24
+	.cfi_offset 14, -24
+	pushq	%r13
+	.cfi_def_cfa_offset 32
+	.cfi_offset 13, -32
+	pushq	%r12
+	.cfi_def_cfa_offset 40
+	.cfi_offset 12, -40
+	movq	%rdx, %r13
+	pushq	%rbp
+	.cfi_def_cfa_offset 48
+	.cfi_offset 6, -48
+	pushq	%rbx
+	.cfi_def_cfa_offset 56
+	.cfi_offset 3, -56
+	movq	%rsi, %r12
+	movq	%rdi, %rbx
+	movq	%r8, %rbp
+	subq	$120, %rsp
+	.cfi_def_cfa_offset 176
+	movq	%fs:40, %rax
+	movq	%rax, 104(%rsp)
+	xorl	%eax, %eax
+	testq	%rdx, %rdx
+	movl	%ecx, 24(%rsp)
+	movl	%r9d, 52(%rsp)
+	je	.L553
+	movq	MEM_mallocN at GOTPCREL(%rip), %rax
+	movq	%rax, %rcx
+	shrq	$3, %rcx
+	cmpb	$0, 2147450880(%rcx)
+	jne	.L554
+	movl	52(%rsp), %edi
+	leaq	.LC9(%rip), %rsi
+	movq	%rdi, 8(%rsp)
+	salq	$2, %rdi
+	movq	%rdi, (%rsp)
+	call	*(%rax)
+	movq	%rax, 40(%rsp)
+	leaq	190(%rbx), %rax
+	movq	%rax, %rcx
+	movq	%rax, 16(%rsp)
+	shrq	$3, %rax
+	movzbl	2147450880(%rax), %eax
+	testb	%al, %al
+	je	.L182
+	andl	$7, %ecx
+	addl	$1, %ecx
+	cmpb	%al, %cl
+	jge	.L555
+.L182:
+	movzwl	190(%rbx), %eax
+	movl	52(%rsp), %edx
+	movl	%eax, %ecx
+	andl	$1, %ecx
+	testl	%edx, %edx
+	je	.L180
+	movl	52(%rsp), %eax
+	movq	%rbx, 32(%rsp)
+	movq	%r13, %rbx
+	movq	40(%rsp), %r15
+	leal	-1(%rax), %r14d
+	addq	$1, %r14
+	salq	$4, %r14
+	addq	%r13, %r14
+	testw	%cx, %cx
+	movl	24(%rsp), %r13d
+	jne	.L84
+	.p2align 4,,10
+	.p2align 3
+.L185:
+	movl	%r13d, %esi
+	movq	%rbx, %rdi
+	call	defvert_find_weight at PLT
+	movq	%r15, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L184
+	movq	%r15, %rcx
+	andl	$7, %ecx
+	addl	$3, %ecx
+	cmpb	%dl, %cl
+	jge	.L556
+.L184:
+	addq	$16, %rbx
+	movss	%xmm0, (%r15)
+	addq	$4, %r15
+	cmpq	%r14, %rbx
+	jne	.L185
+.L551:
+	movq	16(%rsp), %rdx
+	movq	32(%rsp), %rbx
+	movq	%rdx, %rax
+	shrq	$3, %rax
+	movzbl	2147450880(%rax), %eax
+	testb	%al, %al
+	je	.L85
+	andl	$7, %edx
+	addl	$1, %edx
+	cmpb	%al, %dl
+	jge	.L557
+.L85:
+	movzwl	190(%rbx), %eax
+.L180:
+	testb	$8, %al
+	jne	.L558
+.L82:
+	leaq	188(%rbx), %rdi
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	movzbl	2147450880(%rax), %eax
+	testb	%al, %al
+	je	.L111
+	movq	%rdi, %rdx
+	andl	$7, %edx
+	addl	$1, %edx
+	cmpb	%al, %dl
+	jge	.L559
+.L111:
+	movswl	188(%rbx), %eax
+	leaq	120(%rbx), %rdi
+	movl	%eax, 68(%rsp)
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	movzbl	2147450880(%rax), %eax
+	testb	%al, %al
+	je	.L112
+	movq	%rdi, %rdx
+	andl	$7, %edx
+	addl	$3, %edx
+	cmpb	%al, %dl
+	jge	.L560
+.L112:
+	movq	MEM_callocN at GOTPCREL(%rip), %r13
+	movss	120(%rbx), %xmm7
+	movss	%xmm7, 24(%rsp)
+	movq	%r13, %r14
+	shrq	$3, %r14
+	cmpb	$0, 2147450880(%r14)
+	jne	.L561
+	movq	8(%rsp), %rdi
+	leaq	.LC7(%rip), %rsi
+	salq	$4, %rdi
+	call	*0(%r13)
+	leaq	1160(%r12), %rdi
+	movq	%rax, %rbx
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	cmpb	$0, 2147450880(%rax)
+	jne	.L562
+	movq	%r12, %rdi
+	call	*1160(%r12)
+	leaq	1224(%r12), %rdi
+	movl	%eax, 64(%rsp)
+	movq	%rdi, %rax
+	shrq	$3, %rax
+	cmpb	$0, 2147450880(%rax)
+	jne	.L563
+	movq	%r12, %rdi
+	call	*1224(%r12)
+	movl	A.14339(%rip), %r9d
+	movq	%rax, 72(%rsp)
+	xorl	%eax, %eax
+	testl	%r9d, %r9d
+	sete	%al
+	cmpb	$0, 2147450880(%r14)
+	movl	%eax, A.14339(%rip)
+	jne	.L564
+	leaq	__func__.14340(%rip), %rsi
+	movq	(%rsp), %rdi
+	call	*0(%r13)
+	movl	64(%rsp), %r8d
+	movq	%rax, 56(%rsp)
+	testl	%r8d, %r8d
+	je	.L565
+	movl	64(%rsp), %esi
+	movq	72(%rsp), %rdi
+	movq	%rax, %r8
+	movss	.LC4(%rip), %xmm0
+	subl	$1, %esi
+	movq	%rdi, %rax
+	movl	%esi, %edx
+	leaq	3(%rdx,%rdx,2), %rdx
+	leaq	(%rdi,%rdx,4), %rcx
+	.p2align 4,,10
+	.p2align 3
+.L123:
+	movq	%rax, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L119
+	movq	%rax, %rdi
+	andl	$7, %edi
+	addl	$3, %edi
+	cmpb	%dl, %dil
+	jge	.L566
+.L119:
+	movl	(%rax), %edx
+	leaq	(%r8,%rdx,4), %rdi
+	movq	%rdi, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L120
+	movq	%rdi, %r9
+	andl	$7, %r9d
+	addl	$3, %r9d
+	cmpb	%dl, %r9b
+	jge	.L567
+.L120:
+	movss	(%rdi), %xmm1
+	addss	%xmm0, %xmm1
+	movss	%xmm1, (%rdi)
+	leaq	4(%rax), %rdi
+	movq	%rdi, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L121
+	movq	%rdi, %r9
+	andl	$7, %r9d
+	addl	$3, %r9d
+	cmpb	%dl, %r9b
+	jge	.L568
+.L121:
+	movl	4(%rax), %edx
+	leaq	(%r8,%rdx,4), %rdi
+	movq	%rdi, %rdx
+	shrq	$3, %rdx
+	movzbl	2147450880(%rdx), %edx
+	testb	%dl, %dl
+	je	.L122
+	movq	%rdi, %r9
+	andl	$7, %r9d
+	addl	$3, %r9d
+	cmpb	%dl, %r9b
+	jge	.L569
+.L122:
+	movss	(%rdi), %xmm1
+	addq	$12, %rax
+	addss	%xmm0, %xmm1
+	cmpq	%rcx, %rax
+	movss	%xmm1, (%rdi)
+	jne	.L123
+.L124:
+	movq	72(%rsp), %rdi
+	leaq	3(%rsi,%rsi,2), %rax
+	movl	$0, 32(%rsp)
+	leaq	(%rdi,%rax,4), %rax
+	movq	56(%rsp), %rdi
+	movq	%rax, 80(%rsp)
+	movl	52(%rsp), %eax
+	subl	$1, %eax
+	leaq	4(%rdi,%rax,4), %rax
+	movl	32(%rsp), %edi
+	cmpl	%edi, 68(%rsp)
+	movq	%rax, 88(%rsp)
+	je	.L171
+	.p2align 4,,10
+	.p2align 3
+.L597:
+	movl	64(%rsp), %ecx
+	testl	%ecx, %ecx
+	je	.L172
+	movq	72(%rsp), %rax
+	movq	80(%rsp), %r14
+	leaq	4(%rax), %r12
+	movq	%rax, %r13
+	.p2alig

@@ Diff output truncated at 10240 characters. @@




More information about the Bf-blender-cvs mailing list