freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm


From: Werner LEMBERG
Subject: Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm
Date: Wed, 14 Mar 2018 08:01:23 +0100 (CET)

>>> By the way, the assembly code is broken with thumb2: [...]
>>> Can you fix it?  I have zero knowledge w.r.t. assembler code.
>>
>> I will try, can you tell me what it's intention...
> 
> It should be a fast equivalent of the corresponding C code
> (cf. `FT_MulFix' in files `freetype.h' and `ftcalc.c').
> 
>> This is the code I found in freetype [...]
> 
> Yep.
> 
>> int64_t is supported, but generate long code like this: [...]
> 
> Maybe this code can be manually optimized.  Note, however, that for
> handling PCF files this is overkill since the PCF module doesn't
> need FT_MulFix at all.

Another solution is to add preprocessor macros around the assembler
code that prevent execution on your platform and/or processor.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]