Review Board 2.0.15


mips: add support for branch likely instruction

Review Request #748 - Created June 19, 2011 and updated

Information
Deyuan Guo
gem5
Reviewers
Default
ali, gblack, nate, stever
Make the newly gem5 support mips branch likely instruction again.
Fix 4 files:
src/arch/mips/isa/formats/branch.isa
src/cpu/inorder/inorder_dyn_inst.cc
src/cpu/inorder/resources/branch_predictor.cc
src/cpu/inorder/resources/fetch_seq_unit.cc
Tested.
Review request changed
Updated (June 21, 2011, 11:39 a.m.)

Change Summary:

Move the unrelated patch to new review requests. Here are all about the MIPS branch likely instructions.

Diff:

Revision 4 (+9 -8)

Show changes

Posted (June 22, 2011, 2:24 a.m.)



  
src/arch/mips/isa/formats/branch.isa (Diff revision 4)
 
 
The last thing to do is pass the regressions.

Can you run the ALPHA quick regressions for inorder and also the MIPS quick regression and verify they pass?

Is there a dhrystone benchmark that exposes this branch likely functionality? It'd be nice to make sure we check that this does not get broken on future regression runs.
  1. Hello!
    I just tested the following commands with the latest version:
      build/ALPHA_SE/m5.opt configs/example/se.py --inorder --caches
      build/MIPS_SE/m5.opt configs/example/se.py --inorder --caches
    The helloworld tests of ALPHA and MIPS32 can run correctly. 
    However, I don't know the meaning of "run the ALPHA quick regressions". Does it relate to the tests/quick folder? Could you tell me how to use this?
    
    At last, I find that the branch likely instructions aren't generated by our MIPS compiler. These instructions are in our MIPS64 glibc libraries. So I think using an inline assembly testcase containing those instructions may be more efficiently than using the dhrystone benchmark or other C benchmarks.
Posted (Jan. 11, 2012, 11:02 p.m.)
Are there any updates to this patch?