arithbin.c File Reference

#include "vm.h"
#include "_impl.h"
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "fastmath.h"

Defines

#define m_mod(_a, _b)   (_a%_b)
#define _add(_a, _b)   ((_a)+(_b))
#define _sub(_a, _b)   ((_a)-(_b))
#define _mul(_a, _b)   ((_a)*(_b))
#define _div(_a, _b)   ((_a)/(_b))
#define _inf(_a, _b)   ((_a)<(_b))
#define _sup(_a, _b)   ((_a)>(_b))
#define _eq(_a, _b)   ((_a)==(_b))
#define _neq(_a, _b)   ((_a)!=(_b))
#define _infeq(_a, _b)   ((_a)<=(_b))
#define _supeq(_a, _b)   ((_a)>=(_b))

Functions

void _VM_CALL vm_op_shr (vm_t vm, word_t count)
void _VM_CALL vm_op_shr_Int (vm_t vm, word_t count)
void _VM_CALL vm_op_vshr (vm_t vm, word_t count)
void _VM_CALL vm_op_shl (vm_t vm, word_t count)
void _VM_CALL vm_op_shl_Int (vm_t vm, word_t count)
void _VM_CALL vm_op_vshl (vm_t vm, word_t count)
void _VM_CALL vm_op_and (vm_t vm, word_t data)
void _VM_CALL vm_op_or (vm_t vm, word_t data)
void _VM_CALL vm_op_xor (vm_t vm, word_t data)
void _VM_CALL vm_op_not (vm_t vm, word_t data)
void _VM_CALL vm_op_and_Int (vm_t vm, word_t immed)
void _VM_CALL vm_op_or_Int (vm_t vm, word_t immed)
void _VM_CALL vm_op_xor_Int (vm_t vm, word_t immed)
void _VM_CALL vm_op_inc (vm_t vm, word_t immed)
void _VM_CALL vm_op_dec (vm_t vm, word_t immed)
void _VM_CALL vm_op_mod (vm_t vm, word_t immed)
void _VM_CALL vm_op_mod_Int (vm_t vm, int b)
void _VM_CALL vm_op_mod_Float (vm_t vm, int b)
void _VM_CALL vm_op_add (vm_t vm, word_t immed)
void _VM_CALL vm_op_sub (vm_t vm, word_t immed)
void _VM_CALL vm_op_mul (vm_t vm, word_t immed)
void _VM_CALL vm_op_div (vm_t vm, word_t immed)
void _VM_CALL vm_op_add_Int (vm_t vm, int b)
void _VM_CALL vm_op_sub_Int (vm_t vm, int b)
void _VM_CALL vm_op_mul_Int (vm_t vm, int b)
void _VM_CALL vm_op_div_Int (vm_t vm, int b)
void _VM_CALL vm_op_add_Float (vm_t vm, word_t b)
void _VM_CALL vm_op_sub_Float (vm_t vm, word_t b)
void _VM_CALL vm_op_mul_Float (vm_t vm, word_t b)
void _VM_CALL vm_op_div_Float (vm_t vm, word_t b)
void _VM_CALL vm_op_inf (vm_t vm, word_t unused)
void _VM_CALL vm_op_sup (vm_t vm, word_t unused)
void _VM_CALL vm_op_infEq (vm_t vm, word_t unused)
void _VM_CALL vm_op_supEq (vm_t vm, word_t unused)
void _VM_CALL vm_op_eq (vm_t vm, word_t unused)
void _VM_CALL vm_op_nEq (vm_t vm, word_t unused)


Generated on Wed Feb 6 14:46:05 2008 for TinyaML by  doxygen 1.5.3