[Mesa-dev] [Bug 33388] Dubious assembler in xform4.S

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 24 10:01:43 PST 2011


https://bugs.freedesktop.org/show_bug.cgi?id=33388

--- Comment #2 from Dimitry Andric <dimitry at andric.com> 2011-01-24 10:01:43 PST ---
Yes, I have built and run the Mesa port on FreeBSD several times with
this patch.  In any case, it is very simple to show the patch does not
change the output at all.  Just use GNU as to assemble the following two
lines:

        movzx    0x14(%rdx),%eax
        movzbl    0x14(%rdx),%eax

and then disassemble the resulting .o file, which gives:

example.o:     file format elf64-x86-64

Disassembly of section .text:

0000000000000000 <.text>:
   0:   0f b6 42 14             movzbl 0x14(%rdx),%eax
   4:   0f b6 42 14             movzbl 0x14(%rdx),%eax

E.g exactly the same opcodes are produced, so nothing will change in the
actual behaviour of the routine at runtime.  The only difference is that
now the .S file is unambiguous.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list