Skip to content

[mc] error: ambiguous instructions require an explicit suffix (could be 'btw', 'btl', or 'btq') #9636

Closed
@edwintorok

Description

@edwintorok
Bugzilla Link 9264
Resolution FIXED
Resolved on Feb 19, 2011 15:06
Version trunk
OS Linux
Blocks #4440

Extended Description

clang -integrated-as first error with Linux kernel:
/home/edwin/builds/linux-2.6/arch/x86/include/asm/bitops.h:319:15: error: ambiguous instructions require an explicit suffix
(could be 'btw', 'btl', or 'btq')
asm volatile("bt %2,%1\n\t"
^
:1:2: note: instantiated into assembly here
bt $0,cpu_all_bits
^

asm volatile("bt %2,%1\n\t"
"sbb %0,%0"
: "=r" (oldbit)
: "m" (*(unsigned long *)addr), "Ir" (nr));

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzilla

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions