summaryrefslogtreecommitdiffstats
path: root/graphics/libGL/files/extra-src__mesa__x86-64__xform4.S
blob: 193e6cc30fbed3a9e9c2bd875d8b2526ec0491e5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
--- src/mesa/x86-64/xform4.S.orig   2009-01-22 18:38:35.000000000 +0100
+++ src/mesa/x86-64/xform4.S    2011-05-09 21:26:00.000000000 +0200
@@ -53,7 +53,7 @@ _mesa_x86_64_transform_points4_general:
  * rdx = source
  */
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -116,7 +116,7 @@ p4_constants:
 .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
@@ -135,7 +135,7 @@ _mesa_x86_64_transform_points4_3d:
    movaps 16(%rax), %xmm10
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -195,7 +195,7 @@ p4_3d_done:
 _mesa_x86_64_transform_points4_identity:
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -223,7 +223,7 @@ p4_identity_done:
 _mesa_3dnow_transform_points4_3d_no_rot:
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -287,7 +287,7 @@ p4_3d_no_rot_done:
 _mesa_3dnow_transform_points4_perspective:
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -353,7 +353,7 @@ p4_perspective_done:
 _mesa_3dnow_transform_points4_2d_no_rot:
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */
@@ -408,7 +408,7 @@ p4_2d_no_rot_done:
 _mesa_3dnow_transform_points4_2d:
 
    movl V4F_COUNT(%rdx), %ecx  /* count */
-   movzx V4F_STRIDE(%rdx), %eax    /* stride */
+   movzbl V4F_STRIDE(%rdx), %eax   /* stride */
 
    movl %ecx, V4F_COUNT(%rdi)  /* set dest count */
    movl $4, V4F_SIZE(%rdi)     /* set dest size */