CuEVM
Namespaces | Functions
arithmetic.cu File Reference
#include <CuEVM/gas_cost.cuh>
#include <CuEVM/operations/arithmetic.cuh>
#include <CuEVM/utils/error_codes.cuh>
Include dependency graph for arithmetic.cu:

Namespaces

 CuEVM
 
 CuEVM::operations
 

Functions

__host__ __device__ int32_t CuEVM::operations::ADD (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::MUL (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::SUB (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::DIV (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::SDIV (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::MOD (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::SMOD (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::ADDMOD (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::MULMOD (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::EXP (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)
 
__host__ __device__ int32_t CuEVM::operations::SIGNEXTEND (ArithEnv &arith, const bn_t &gas_limit, bn_t &gas_used, CuEVM::evm_stack_t &stack)