mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-29 09:34:05 +01:00
[hvgl] Micro-optimize
This commit is contained in:
1 parent
8f505a70e3
commit
a1fba4ebd4
1 file changed
+2
-2
@@ -96,9 +96,9 @@ PartShape::get_path_at (const struct hvgl &hvgl,
|
||||
// APPLE SIMD
|
||||
|
||||
bool src_aligned = (uintptr_t) (deltas.get_matrix (axisCount, segmentCount).arrayZ) % 8 == 0;
|
||||
bool dest_aligned = (uintptr_t) (v.arrayZ) % 8 == 0;
|
||||
// dest is always aligned.
|
||||
bool be = CFByteOrderGetCurrent () == CFByteOrderBigEndian;
|
||||
if (!be && src_aligned && dest_aligned)
|
||||
if (!be && src_aligned)
|
||||
{
|
||||
unsigned rows_count = v.length;
|
||||
double c[4];
|
||||
|
||||
Reference in new issue
Block a user