Ignore:
Timestamp:
Aug 15, 2014, 7:09:02 PM (5 years ago)
Author:
linmengl
Message:

add tests for v128i1, ready now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/gen/gen.py

    r4004 r4005  
    1212FuncOutput      = "ParabixGeneratedFuncs.h"
    1313
     14FunctionListI1 = ["add", "sub", "mult", "eq", "lt", "gt", "ult", "ugt"]
    1415FunctionListI2 = ["add", "sub", "mult", "eq", "lt", "gt", "ult", "ugt", "vsll", "vsrl", "vsra"]
    1516FunctionListI4 = ["add", "sub", "mult", "eq", "lt", "gt", "ult", "ugt", "vsll", "vsrl", "vsra"]
     
    5455FunctionNamesI8 = [{"c": C(name), "cxx": CXX(name), "op": OP(name),
    5556                    "flag": FLAG(name), "fw": FW} for name in FunctionListI8]
     57FW = 1
     58FunctionNamesI1 = [{"c": C(name), "cxx": CXX(name), "op": OP(name),
     59                    "flag": FLAG(name), "fw": FW} for name in FunctionListI1]
    5660
    5761#configuring Jinja2
     
    6872    fillTemplate(template=TestTemplate, output=TestOutput,
    6973                 params=dict(HeaderComment = "AUTO GENERATED FILE",
     74                             FunctionNamesI1 = FunctionNamesI1,
    7075                             FunctionNamesI2 = FunctionNamesI2,
    7176                             FunctionNamesI4 = FunctionNamesI4,
     
    7883                             FunctionNamesI4 = FunctionNamesI4,
    7984                             FunctionNamesI8 = FunctionNamesI8,
     85                             FunctionNamesI1 = FunctionNamesI1,
    8086                             ))
    8187
Note: See TracChangeset for help on using the changeset viewer.