Skip to content

Commit 912e62e

Browse files
committed
Leave FIXME comment for libc substitution
1 parent 3e4c14c commit 912e62e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/emulate.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -512,6 +512,7 @@ static bool do_fuse5(riscv_t *rv,
512512
uint64_t cycle,
513513
uint32_t PC)
514514
{
515+
/* FIXME: specify the correct cycle count for memset routine */
515516
cycle += 2;
516517
memory_t *m = ((state_t *) rv->userdata)->mem;
517518
memset((char *) m->mem_base + rv->X[rv_reg_a0], rv->X[rv_reg_a1],
@@ -532,6 +533,7 @@ static bool do_fuse6(riscv_t *rv,
532533
uint64_t cycle,
533534
uint32_t PC)
534535
{
536+
/* FIXME: specify the correct cycle count for memcpy routine */
535537
cycle += 2;
536538
memory_t *m = ((state_t *) rv->userdata)->mem;
537539
memcpy((char *) m->mem_base + rv->X[rv_reg_a0],

0 commit comments

Comments
 (0)