mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Auto merge of #7527 - bjwbell:simd_advance_for_char_range, r=metajack
Use SIMD in fast path for advance_for_char_range In advance_for_char_range add a fast SIMD code path for the the common case where there are no detailed glyphs. r? @mbrubeck <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7527) <!-- Reviewable:end -->
This commit is contained in:
commit
c838259383
4 changed files with 94 additions and 1 deletions
|
@ -5,6 +5,10 @@
|
|||
#![feature(arc_weak)]
|
||||
#![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