Changeset 18159 for branches/3140_NumberSymbol/HeuristicLab.ExtLibs
- Timestamp:
- 12/20/21 13:21:35 (3 years ago)
- Location:
- branches/3140_NumberSymbol/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3140_NumberSymbol/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/instruction.h
r16701 r18159 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 -
branches/3140_NumberSymbol/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.cpp
r16333 r18159 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); -
branches/3140_NumberSymbol/HeuristicLab.ExtLibs/HeuristicLab.NativeInterpreter/0.1/NativeInterpreter-0.1/src/interpreter.h
r16905 r18159 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.