Skip to content

Support for benchmarks#822

Open
matthiasgoergens wants to merge 20 commits intomasterfrom
matthias/sproll-support-minimal
Open

Support for benchmarks#822
matthiasgoergens wants to merge 20 commits intomasterfrom
matthias/sproll-support-minimal

Conversation

@matthiasgoergens
Copy link
Contributor

Extracted from #809 because we need the non-controversial parts for other benchmarks. That is anything but pub const MAX_NUM_VARIABLES: usize = 27;

self.public_io,
self.hints,
self.unsafe_ecall_nop
"Platform {{ rom: {:#x?}, prog_data: {prog_data}, stack: {:#x?}, heap: {:x?}, public_io: {:#x?}, hints: {:#x?}, unsafe_ecall_nop: {} }}",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hex is easier to read here (because we use round numbers, only when expressed in powers of 2), and it's also how we specify these numbers in our linker script etc.

pi: PublicValues<u32>,
}

// TODO(Matthias): handle hints properly.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is something to fix soon. But I don't know enough at the moment.

It's definitely broken in master, though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants