Changeset 3919 for trunk/lib_ir/s2p.h


Ignore:
Timestamp:
Jul 21, 2014, 6:12:48 PM (5 years ago)
Author:
linmengl
Message:

adding more unittests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib_ir/s2p.h

    r3918 r3919  
    33
    44#include "idisa.hpp"
     5// use s2p(s0, s1, ..., s7, *p0, *p1, ..., *p7)
     6// choose from s2p_bytepack and s2p_ideal
     7#define s2p s2p_bytepack
     8
    59extern "C" {
    610  void s2p_ideal(BitBlock s0, BitBlock s1, BitBlock s2, BitBlock s3, BitBlock s4, BitBlock s5, BitBlock s6, BitBlock s7, BitBlock *p0, BitBlock *p1, BitBlock *p2, BitBlock *p3, BitBlock *p4, BitBlock *p5, BitBlock *p6, BitBlock *p7);
     11
     12  void s2p_bytepack(BitBlock s0, BitBlock s1, BitBlock s2, BitBlock s3, BitBlock s4, BitBlock s5, BitBlock s6, BitBlock s7, BitBlock *p0, BitBlock *p1, BitBlock *p2, BitBlock *p3, BitBlock *p4, BitBlock *p5, BitBlock *p6, BitBlock *p7);
    713
    814  BitBlock packh_16(BitBlock a, BitBlock b);
     
    1420  BitBlock packh_4(BitBlock a, BitBlock b);
    1521  BitBlock packl_4(BitBlock a, BitBlock b);
     22
     23  BitBlock ifh_1(BitBlock a, BitBlock b, BitBlock c);
     24  BitBlock srli_16(BitBlock a, BitBlock shift_mask);
     25  BitBlock slli_16(BitBlock a, BitBlock shift_mask);
    1626}
    1727
Note: See TracChangeset for help on using the changeset viewer.