示例#1
0
文件: codegen.py 项目: wenmm/parasail
#
# Copyright (c) 2015 Battelle Memorial Institute.

import copy
import os
import re
import string
import sys

from isa import sse2
from isa import sse41
from isa import avx2
from isa import altivec
from isa import neon

keys = sse2.keys()

# gather templates
template_dir = "templates/"

template_filenames = [
    "nw_diag.c",
    "nw_scan.c",
    "nw_striped.c",
    "sg_diag.c",
    "sg_scan.c",
    "sg_striped.c",
    "sw_diag.c",
    "sw_scan.c",
    "sw_striped.c",
    "nw_stats_diag.c",
示例#2
0
# and integer precisions.
#
# author [email protected]
#
# Copyright (c) 2015 Battelle Memorial Institute.

import copy
import os
import string
import sys

from isa import sse2
from isa import sse41
from isa import avx2

keys = sse2.keys()

# gather templates
template_dir = "templates/"

template_filenames = [
"nw_diag.c",
"nw_scan.c",
"nw_striped.c",
"sg_diag.c",
"sg_scan.c",
"sg_striped.c",
"sw_diag.c",
"sw_scan.c",
"sw_striped.c",