As Marcus pointed out, the imul instruction clobbers the conditional code
register. Therefore "cc" should be added to the clobber list. Adding that here as it's part of a patch attached to the freetype bugtracker. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28945 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -359,7 +359,7 @@ FT_BEGIN_HEADER
|
|||||||
"addl %%edx, %%eax\n"
|
"addl %%edx, %%eax\n"
|
||||||
: "=a"(result), "=d"(b)
|
: "=a"(result), "=d"(b)
|
||||||
: "a"(a), "d"(b)
|
: "a"(a), "d"(b)
|
||||||
: "%ecx" );
|
: "%ecx", "cc" );
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user