You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2013/07/08 19:47:48 UTC

[jira] [Created] (HADOOP-9707) Fix register lists for crc32c inline assembly

Todd Lipcon created HADOOP-9707:
-----------------------------------

             Summary: Fix register lists for crc32c inline assembly
                 Key: HADOOP-9707
                 URL: https://issues.apache.org/jira/browse/HADOOP-9707
             Project: Hadoop Common
          Issue Type: Bug
          Components: util
    Affects Versions: 3.0.0, 2.1.0-beta
            Reporter: Todd Lipcon
            Assignee: Todd Lipcon
            Priority: Minor


The inline assembly used for the crc32 instructions has an incorrect clobber list: the computed CRC values are "in-out" variables and thus need to use the "matching constraint" syntax in the clobber list.

This doesn't seem to cause a problem now in Hadoop, but may break in a different compiler version which allocates registers differently, or may break when the same code is used in another context.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira