diff options
author | Mike Klein <mtklein@chromium.org> | 2017-02-21 12:13:44 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-02-21 19:48:19 +0000 |
commit | ed1b9022b379108219e3aa07412b764ac08ae382 (patch) | |
tree | 01a4c5ce0e4e10f12caf89050f175f1b2ee602d6 /gn/BUILD.gn | |
parent | 497890630b80a381a2ac4cbb9114b0320560bf8c (diff) |
SkJumper: Windows
- Compile stages with -DWIN to pick up MS-specific start_pipeline().
- Add SkJumper_generated_win.S with MS-specific assembly.
- Add a minimal asm tool to our GN Windows toolchain.
The SkRasterPipeline_f16 benchmark run ~4x faster on my desktop.
Change-Id: Ia45afb4ecb6a055e2c0e43f0f54f59e081c23b7f
Reviewed-on: https://skia-review.googlesource.com/8778
Reviewed-by: Mike Klein <mtklein@chromium.org>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/BUILD.gn')
-rw-r--r-- | gn/BUILD.gn | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gn/BUILD.gn b/gn/BUILD.gn index b223a0a1c1..aea5294977 100644 --- a/gn/BUILD.gn +++ b/gn/BUILD.gn @@ -441,6 +441,14 @@ toolchain("msvc") { env_setup = "cmd /c $windk/win_sdk/bin/SetEnv.cmd /x86 && " } + tool("asm") { + command = "$env_setup$bin/ml64.exe /nologo /c /Fo {{output}} {{source}}" + outputs = [ + "{{source_out_dir}}/{{target_output_name}}.{{source_name_part}}.obj", + ] + description = "assemble {{source}}" + } + tool("cc") { rspfile = "{{output}}.rsp" precompiled_header_type = "msvc" |