Skip to content

Confusion in PPM output #26

@artemshcherbak25

Description

@artemshcherbak25

Hello! We noticed that the PPM output is in decreasing order of history length 12, 8, 4. The reason for this is to initialize the history_lengths array in the mica.h file:

const UINT32 history_lengths[NUM_HIST_LENGTHS] = {12,8,4};

And the captions to the output data are reverse, in ascending order of the length of the story. See tableGen.sh file. and README:

GAg_mispred_cnt_4bits PAg_mispred_cnt_4bits GAs_mispred_cnt_4bits PAs_mispred_cnt_4bits GAg_mispred_cnt_8bits PAg_mispred_cnt_8bits GAs_mispred_cnt_8bits PAs_mispred_cnt_8bits GAg_mispred_cnt_12bits PAg_mispred_cnt_12bits GAs_mispred_cnt_12bits PAs_mispred_cnt_12bits

If we're right, can we change the history_length array from {12,8,4} to {4,8,12}?

Artem

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions