Changeset 18160 for trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src
- Timestamp:
- 12/20/21 13:24:09 (3 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol merged: 18159
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.ExtLibs
- Property svn:mergeinfo changed
/branches/3140_NumberSymbol/HeuristicLab.ExtLibs (added) merged: 18159
- Property svn:mergeinfo changed
-
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/instruction.h
r16701 r18160 19 19 Exp = 9, 20 20 Var = 18, 21 Const= 20,21 Number = 20, 22 22 Power = 22, 23 23 Root = 23, … … 28 28 Cube = 50, 29 29 CubeRoot = 51, 30 Tanh = 52 30 Tanh = 52, 31 Constant = 54 31 32 }; 32 33 -
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.cpp
r16333 r18160 32 32 in.buf = buffer + (i * BATCHSIZE); 33 33 34 if (in.opcode == OpCodes::Const )34 if (in.opcode == OpCodes::Constant || in.opcode == OpCodes::Number) 35 35 { 36 36 load(in.buf, in.value); -
trunk/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.h
r16905 r18160 12 12 switch (in.opcode) 13 13 { 14 case OpCodes::Const: /* nothing to do */ break; 14 case OpCodes::Number: /* nothing to do */ break; 15 case OpCodes::Constant: /* nothing to do */ break; 15 16 case OpCodes::Var: 16 17 { … … 165 166 break; 166 167 } 167 case OpCodes::Const: /* nothing to do because buffers for constants are already set */ break; 168 case OpCodes::Number: /* nothing to do because buffers for numbers are already set */ break; 169 case OpCodes::Constant: /* nothing to do because buffers for constants are already set */ break; 168 170 case OpCodes::Add: 169 171 {
Note: See TracChangeset
for help on using the changeset viewer.