Skip to content

invalid output constraint '=o' in asm #4876

Closed
@llvmbot

Description

@llvmbot
Bugzilla Link 4504
Resolution FIXED
Resolved on Sep 07, 2010 13:49
Version unspecified
OS Solaris
Reporter LLVM Bugzilla Contributor
CC @ismail,@pwo

Extended Description

While compiling mplayer with clang, I get:

libmpcodecs/vf_fspp.c:1591:41: error: invalid output constraint '=o' in asm
: "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)

...
------>"movq %%mm1, "DCTSIZE_S"32(%%"REG_D") \n\t"
<------>"add $24, %%"REG_D" \n\t"
<------>"sub $2, %%"REG_c" \n\t"
<------>"jnz 1b \n\t"
<------>"5: \n\t"

<------>: "+S"(data), "+D"(output), "+c"(cnt), "=o"(temps)
<------>: "d"(thr_adr)
<------>: "%"REG_a
<------>);

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:frontendLanguage frontend issues, e.g. anything involving "Sema"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions