<commit_before>/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "SkOpts.h"

#define SK_OPTS_NS hsw
#include "SkRasterPipeline_opts.h"

namespace SkOpts {
    void Init_hsw() {

        run_pipeline = SK_OPTS_NS::run_pipeline;

    #define STAGE(stage)                                                        \
        body[SkRasterPipeline::stage] = (SkOpts::VoidFn)SK_OPTS_NS::stage;      \
        tail[SkRasterPipeline::stage] = (SkOpts::VoidFn)SK_OPTS_NS::stage##_tail

        STAGE(store_565);
        STAGE(store_srgb);
        STAGE(store_f16);

        STAGE(load_s_565);
        STAGE(load_s_srgb);
        STAGE(load_s_f16);

        STAGE(load_d_565);
        STAGE(load_d_srgb);
        STAGE(load_d_f16);

        STAGE(scale_u8);

        STAGE(lerp_u8);
        STAGE(lerp_565);
    #undef STAGE

    #define STAGE(stage)                                                   \
        body[SkRasterPipeline::stage] = (SkOpts::VoidFn)SK_OPTS_NS::stage; \
        tail[SkRasterPipeline::stage] = (SkOpts::VoidFn)SK_OPTS_NS::stage

        STAGE(just_return);
        STAGE(lerp_constant_float);
        STAGE(constant_color);

        STAGE(dst);
        STAGE(dstatop);
        STAGE(dstin);
        STAGE(dstout);
        STAGE(dstover);
        STAGE(srcatop);
        STAGE(srcin);
        STAGE(srcout);
        STAGE(srcover);
        STAGE(clear);
        STAGE(modulate);
        STAGE(multiply);
        STAGE(plus_);
        STAGE(screen);
        STAGE(xor_);
        STAGE(colorburn);
        STAGE(colordodge);
        STAGE(darken);
        STAGE(difference);
        STAGE(exclusion);
        STAGE(hardlight);
        STAGE(lighten);
        STAGE(overlay);
        STAGE(softlight);
    #undef STAGE

    }
}

<commit_msg>Revert "Try again with SkOpts_hsw and 8x pipelines."<commit_after>/*
 * Copyright 2016 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "SkOpts.h"

#define SK_OPTS_NS hsw

namespace SkOpts {
    void Init_hsw() { }
}


{'fraction_non_alphanumeric': 0.11038961038961038, 'fraction_numerical': 0.013450834879406308, 'mean_word_length': 2.0946915351506457, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7023258', 'n_tokens_mistral': 755, 'n_tokens_neox': 734, 'n_words': 132}