2018-12-31 18:06:45 +00:00
|
|
|
/*
|
|
|
|
Copyright (c) 2018 tevador
|
|
|
|
|
|
|
|
This file is part of RandomX.
|
|
|
|
|
|
|
|
RandomX is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
RandomX is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with RandomX. If not, see<http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2019-04-20 14:53:06 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-12-31 18:06:45 +00:00
|
|
|
extern "C" {
|
2019-01-27 09:52:30 +00:00
|
|
|
void randomx_program_prologue();
|
2019-01-27 18:33:55 +00:00
|
|
|
void randomx_program_loop_begin();
|
|
|
|
void randomx_program_loop_load();
|
2019-01-27 09:52:30 +00:00
|
|
|
void randomx_program_start();
|
|
|
|
void randomx_program_read_dataset();
|
2019-04-07 13:38:51 +00:00
|
|
|
void randomx_program_read_dataset_sshash_init();
|
|
|
|
void randomx_program_read_dataset_sshash_fin();
|
2019-01-27 18:33:55 +00:00
|
|
|
void randomx_program_loop_store();
|
2019-01-27 09:52:30 +00:00
|
|
|
void randomx_program_loop_end();
|
2019-04-06 10:00:56 +00:00
|
|
|
void randomx_dataset_init();
|
2019-01-27 09:52:30 +00:00
|
|
|
void randomx_program_epilogue();
|
2019-04-06 10:00:56 +00:00
|
|
|
void randomx_sshash_load();
|
|
|
|
void randomx_sshash_prefetch();
|
|
|
|
void randomx_sshash_end();
|
|
|
|
void randomx_sshash_init();
|
2019-01-27 09:52:30 +00:00
|
|
|
void randomx_program_end();
|
2019-04-20 14:53:06 +00:00
|
|
|
}
|