mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add fast SIMD code path in advance_for_char_range
In advance_for_char_range add a SIMD code path for the the common case of no detailed glyphs. - gfx/Cargo.toml Add simd dependency https://github.com/huonw/simd - servo/Cargo.lock Add simd dependency https://github.com/huonw/simd @ d9ad79d86eab50a8f36d45fe17aa9e3a533389ee. - SIMD isn't used on non-x86_65/aarch64 architectures.
This commit is contained in:
parent
366d4a83f1
commit
0c99b7e6a9
4 changed files with 94 additions and 1 deletions
|
@ -5,6 +5,10 @@
|
|||
#![feature(arc_weak)]
|
||||
#![cfg_attr(any(target_os = "linux", target_os = "android"), feature(box_raw))]
|
||||
#![feature(box_syntax)]
|
||||
|
||||
// For simd (currently x86_64/aarch64)
|
||||
#![cfg_attr(any(target_arch = "x86_64", target_arch = "aarch64"), feature(convert))]
|
||||
|
||||
#![feature(custom_attribute)]
|
||||
#![feature(custom_derive)]
|
||||
#![feature(hashmap_hasher)]
|
||||
|
@ -40,6 +44,10 @@ extern crate net_traits;
|
|||
extern crate util;
|
||||
extern crate msg;
|
||||
extern crate rand;
|
||||
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
|
||||
extern crate simd;
|
||||
|
||||
extern crate smallvec;
|
||||
extern crate string_cache;
|
||||
extern crate style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue