mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Use SIMD in gfx
when possible
This commit is contained in:
parent
19deb66e2c
commit
93f4ae9057
4 changed files with 15 additions and 14 deletions
|
@ -2,7 +2,8 @@
|
|||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// For simd (currently x86_64/aarch64)
|
||||
// For SIMD
|
||||
#![feature(cfg_target_feature)]
|
||||
#![cfg_attr(any(target_os = "linux", target_os = "android", target_os = "windows"), feature(heap_api))]
|
||||
|
||||
#![feature(alloc)]
|
||||
|
@ -62,7 +63,7 @@ extern crate serde_derive;
|
|||
extern crate servo_geometry;
|
||||
extern crate servo_url;
|
||||
#[macro_use] extern crate servo_atoms;
|
||||
#[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
|
||||
#[cfg(any(target_feature = "sse2", target_feature = "neon"))]
|
||||
extern crate simd;
|
||||
extern crate smallvec;
|
||||
extern crate style;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue