[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
- [ft-devel] FT_New_Memory_Face: get error code 2 on arm, duhuanpeng, 2018/03/13
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, Werner LEMBERG, 2018/03/13
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, duhuanpeng, 2018/03/14
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, Werner LEMBERG, 2018/03/14
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm,
Werner LEMBERG <=
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, duhuanpeng, 2018/03/14
- Message not available
- Message not available
- Message not available
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, Alexei Podtelezhnikov, 2018/03/14
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, duhuanpeng, 2018/03/14
- Re: [ft-devel] FT_New_Memory_Face: get error code 2 on arm, duhuanpeng, 2018/03/14