Changeset 3026


Ignore:
Timestamp:
Apr 15, 2013, 1:45:50 PM (6 years ago)
Author:
linmengl
Message:

merge with Ken's new code

Location:
proto/pabloj/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • proto/pabloj/trunk/input/test/pabloB/statements/idisaFuncCall/idisa1.pablob

    r3004 r3026  
    2929                */
    3030               
     31                r = simd.not<1>(a);             
     32                r = simd.ifh<16>(a, b, c);
     33                               
     34                r = hsimd.add_hl<2>(a);         
     35                // r = simd.constant<2>(3);
     36               
    3137                r = simd.add<1>(a,b);
    3238                r = simd.sub<2>(a,b);
  • proto/pabloj/trunk/src/toolchain/pabloB/lang/idisa/IDISABuiltin.java

    r3010 r3026  
    2626public enum IDISABuiltin {
    2727
    28         SIMD_CONSTANT(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), INTEGERCONSTANT)),
     28//      SIMD_CONSTANT(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDConstantBuiltinGenerator(), INTEGERCONSTANT)),
    2929       
    3030        // SIMD unary operations
     31        SIMD_NOT(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK)),
     32        HSIMD_ADD_HL(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK)),
    3133       
    3234        // SIMD binary operations
     
    4547        SIMD_SLL(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK, BITBLOCK)),
    4648        SIMD_SRL(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK, BITBLOCK)),
    47         SIMD_SRA(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK, BITBLOCK));
    48        
     49        SIMD_SRA(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK, BITBLOCK)),     
    4950       
    5051        // SIMD ternary operations
     52        SIMD_IFH(makeAllSimpleSignatures(BITBLOCK_SIZE, new SIMDBuiltinGenerator(), BITBLOCK, BITBLOCK, BITBLOCK, BITBLOCK));
    5153       
    5254       
Note: See TracChangeset for help on using the changeset viewer.