Hi, all.

Here's the code in arm.isa file

---------------------------------------------------------------------

decode COND_CODE {

0xF: ArmUnconditional::armUnconditional();

default: decode ENCODING {

format DataOp {

    0x0: decode SEVEN_AND_FOUR {

        1: decode MISC_OPCODE {

            0x9: decode PREPOST {

                0: 
ArmMultAndMultAcc::armMultAndMultAcc();

                1: 
ArmSyncMem::armSyncMem();

            }

            0xb, 0xd, 0xf: AddrMode3::addrMode3();

        }

...

...

...

---------------------------------------------------------------------

In line 4, what's the key word "format" ? 

I've studied the site, ISA Parser, http://www.m5sim.org/ISA_Parser , but get no 
idea about it. 

I know "decode COND_CODE" in line 1 is like a switch case and the contents 
between the braces 

are the code will be generated.

Does anyone tell me what is format? Any hint will be appreciated.

Best

M.Y. Lin

 
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to