projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i965/vs: Make some vec4_visitor functions virtual.
[mesa.git]
/
src
/
mesa
/
x86-64
/
xform4.S
diff --git
a/src/mesa/x86-64/xform4.S
b/src/mesa/x86-64/xform4.S
index 805969127db5f4ed2663b5122099da017f1704b2..5abd5a25de5c080a197d3cc8e87e4799a7ff929f 100644
(file)
--- a/
src/mesa/x86-64/xform4.S
+++ b/
src/mesa/x86-64/xform4.S
@@
-30,6
+30,7
@@
.align 16
.globl _mesa_x86_64_cpuid
.align 16
.globl _mesa_x86_64_cpuid
+.hidden _mesa_x86_64_cpuid
_mesa_x86_64_cpuid:
pushq %rbx
movl (%rdi), %eax
_mesa_x86_64_cpuid:
pushq %rbx
movl (%rdi), %eax
@@
-46,6
+47,7
@@
_mesa_x86_64_cpuid:
.align 16
.globl _mesa_x86_64_transform_points4_general
.align 16
.globl _mesa_x86_64_transform_points4_general
+.hidden _mesa_x86_64_transform_points4_general
_mesa_x86_64_transform_points4_general:
/*
* rdi = dest
_mesa_x86_64_transform_points4_general:
/*
* rdi = dest
@@
-53,7
+55,7
@@
_mesa_x86_64_transform_points4_general:
* rdx = source
*/
movl V4F_COUNT(%rdx), %ecx /* count */
* rdx = source
*/
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-116,11
+118,12
@@
p4_constants:
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00
-.float
0f+
1.0
+.float 1.0
.text
.align 16
.globl _mesa_x86_64_transform_points4_3d
.text
.align 16
.globl _mesa_x86_64_transform_points4_3d
+.hidden _mesa_x86_64_transform_points4_3d
/*
* this is slower than _mesa_x86_64_transform_points4_general
* because it ensures that the last matrix row (or is it column?) is 0,0,0,1
/*
* this is slower than _mesa_x86_64_transform_points4_general
* because it ensures that the last matrix row (or is it column?) is 0,0,0,1
@@
-135,7
+138,7
@@
_mesa_x86_64_transform_points4_3d:
movaps 16(%rax), %xmm10
movl V4F_COUNT(%rdx), %ecx /* count */
movaps 16(%rax), %xmm10
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-192,10
+195,11
@@
p4_3d_done:
.align 16
.globl _mesa_x86_64_transform_points4_identity
.align 16
.globl _mesa_x86_64_transform_points4_identity
+.hidden _mesa_x86_64_transform_points4_identity
_mesa_x86_64_transform_points4_identity:
movl V4F_COUNT(%rdx), %ecx /* count */
_mesa_x86_64_transform_points4_identity:
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-220,10
+224,11
@@
p4_identity_done:
.align 16
.globl _mesa_3dnow_transform_points4_3d_no_rot
.align 16
.globl _mesa_3dnow_transform_points4_3d_no_rot
+.hidden _mesa_3dnow_transform_points4_3d_no_rot
_mesa_3dnow_transform_points4_3d_no_rot:
movl V4F_COUNT(%rdx), %ecx /* count */
_mesa_3dnow_transform_points4_3d_no_rot:
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-284,10
+289,11
@@
p4_3d_no_rot_done:
.align 16
.globl _mesa_3dnow_transform_points4_perspective
.align 16
.globl _mesa_3dnow_transform_points4_perspective
+.hidden _mesa_3dnow_transform_points4_perspective
_mesa_3dnow_transform_points4_perspective:
movl V4F_COUNT(%rdx), %ecx /* count */
_mesa_3dnow_transform_points4_perspective:
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-350,10
+356,11
@@
p4_perspective_done:
.align 16
.globl _mesa_3dnow_transform_points4_2d_no_rot
.align 16
.globl _mesa_3dnow_transform_points4_2d_no_rot
+.hidden _mesa_3dnow_transform_points4_2d_no_rot
_mesa_3dnow_transform_points4_2d_no_rot:
movl V4F_COUNT(%rdx), %ecx /* count */
_mesa_3dnow_transform_points4_2d_no_rot:
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
@@
-405,10
+412,11
@@
p4_2d_no_rot_done:
.align 16
.globl _mesa_3dnow_transform_points4_2d
.align 16
.globl _mesa_3dnow_transform_points4_2d
+.hidden _mesa_3dnow_transform_points4_2d
_mesa_3dnow_transform_points4_2d:
movl V4F_COUNT(%rdx), %ecx /* count */
_mesa_3dnow_transform_points4_2d:
movl V4F_COUNT(%rdx), %ecx /* count */
- movz
x V4F_STRIDE(%rdx), %eax
/* stride */
+ movz
bl V4F_STRIDE(%rdx), %eax
/* stride */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */
movl %ecx, V4F_COUNT(%rdi) /* set dest count */
movl $4, V4F_SIZE(%rdi) /* set dest size */