X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FExprEval%2FInterpKernelAsmX86.hxx;h=4582ef18dcda85e2eeb1330ac0f7ce786261be47;hb=bc8e0ec7fd1942e0650878116f5093c1abb6a72c;hp=d305da4b8fa6d29bbb6f4c18b5a3e32897d76ebc;hpb=10f37bf6f33a762626d7f1093b2f5450c1688667;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx b/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx index d305da4b8..4582ef18d 100644 --- a/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx +++ b/src/INTERP_KERNEL/ExprEval/InterpKernelAsmX86.hxx @@ -1,9 +1,9 @@ -// Copyright (C) 2007-2012 CEA/DEN, EDF R&D +// Copyright (C) 2007-2014 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public // License as published by the Free Software Foundation; either -// version 2.1 of the License. +// version 2.1 of the License, or (at your option) any later version. // // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of @@ -16,6 +16,7 @@ // // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // +// Author : Anthony Geay (CEA/DEN) #ifndef __INTERPKERNELASMX86_HXX__ #define __INTERPKERNELASMX86_HXX__ @@ -31,33 +32,33 @@ namespace INTERP_KERNEL class AsmX86 { public: - std::vector convertIntoMachineLangage(const std::vector& asmb) const throw(INTERP_KERNEL::Exception); + std::vector convertIntoMachineLangage(const std::vector& asmb) const; char *copyToExecMemZone(const std::vector& ml, unsigned& offset) const; private: - void convertOneInstructionInML(const std::string& inst, std::vector& ml) const throw(INTERP_KERNEL::Exception); + void convertOneInstructionInML(const std::string& inst, std::vector& ml) const; private: - static void convertMov(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertPush(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertPop(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFld(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFaddp(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFsubp(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFmulp(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFdivp(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFcos(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFsin(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFabs(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFchs(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFsqrt(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertSub(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertAdd(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertRet(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertLeave(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertMovsd(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void convertFst(const std::string& inst, std::vector& ml) throw(INTERP_KERNEL::Exception); + static void convertMov(const std::string& inst, std::vector& ml); + static void convertPush(const std::string& inst, std::vector& ml); + static void convertPop(const std::string& inst, std::vector& ml); + static void convertFld(const std::string& inst, std::vector& ml); + static void convertFaddp(const std::string& inst, std::vector& ml); + static void convertFsubp(const std::string& inst, std::vector& ml); + static void convertFmulp(const std::string& inst, std::vector& ml); + static void convertFdivp(const std::string& inst, std::vector& ml); + static void convertFcos(const std::string& inst, std::vector& ml); + static void convertFsin(const std::string& inst, std::vector& ml); + static void convertFabs(const std::string& inst, std::vector& ml); + static void convertFchs(const std::string& inst, std::vector& ml); + static void convertFsqrt(const std::string& inst, std::vector& ml); + static void convertSub(const std::string& inst, std::vector& ml); + static void convertAdd(const std::string& inst, std::vector& ml); + static void convertRet(const std::string& inst, std::vector& ml); + static void convertLeave(const std::string& inst, std::vector& ml); + static void convertMovsd(const std::string& inst, std::vector& ml); + static void convertFst(const std::string& inst, std::vector& ml); // - static void convertMovToEsp(const std::string& inst1, const std::string& inst2, std::vector& ml) throw(INTERP_KERNEL::Exception); - static void appendAddress(const std::string& addr, int nbOfByte, std::vector& ml) throw(INTERP_KERNEL::Exception); + static void convertMovToEsp(const std::string& inst1, const std::string& inst2, std::vector& ml); + static void appendAddress(const std::string& addr, int nbOfByte, std::vector& ml); private: static const int NB_OF_OPS=19; static const char *OPS[NB_OF_OPS];