From c8a2b8db377a6674bab280190ed478ee9fb2b599 Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Mon, 19 Jan 2009 00:48:59 +0000 Subject: [PATCH] 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 --- headers/libs/freetype2/freetype/config/ftconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/headers/libs/freetype2/freetype/config/ftconfig.h b/headers/libs/freetype2/freetype/config/ftconfig.h index 1aa009e6ec..3c0b8b1641 100644 --- a/headers/libs/freetype2/freetype/config/ftconfig.h +++ b/headers/libs/freetype2/freetype/config/ftconfig.h @@ -359,7 +359,7 @@ FT_BEGIN_HEADER "addl %%edx, %%eax\n" : "=a"(result), "=d"(b) : "a"(a), "d"(b) - : "%ecx" ); + : "%ecx", "cc" ); return result; }