Skip to content

error: unknown constraint 'x' (x86_64) #1

@absop

Description

@absop

I tried to use tcc run the following code on x86_64, it threw the following error.
gcc done it well.

double glibc_sqrt(double x)
{
    double res;

    asm("sqrtsd %1, %0" : "=x" (res) : "xm" (x));

    return res;
}

error: unknown constraint 'x'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions