projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
099aad2
)
x86-64: Fix compile error with clang
author
Chad Versace
<chad@chad-versace.us>
Wed, 10 Aug 2011 22:46:14 +0000
(15:46 -0700)
committer
Chad Versace
<chad@chad-versace.us>
Thu, 11 Aug 2011 16:33:41 +0000
(09:33 -0700)
Remove the 'f' suffix from a float literal.
- .float 0.0f+1.0
+ .float 1.0
This fixes the following compile error with clang:
error: unexpected token in directive
.float 0.0f+1.0
^
Note: This is a candidate for the stable branches.
Reviewed-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/x86-64/xform4.S
patch
|
blob
|
history
diff --git
a/src/mesa/x86-64/xform4.S
b/src/mesa/x86-64/xform4.S
index 6141e43467905273c8164fb856b457e655f32ea0..5abd5a25de5c080a197d3cc8e87e4799a7ff929f 100644
(file)
--- a/
src/mesa/x86-64/xform4.S
+++ b/
src/mesa/x86-64/xform4.S
@@
-118,7
+118,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