Hello, The notion of functional unit and instruction set are decoupled in gem5. The ISA description is in src/arch, where instructions receive an 'op_class' tag, e.g., IntAluOp. The opClasses are defined both in src/cpu/FuncUnit.py src/cpu/op_class.hh.
Regards, -- Fernando A. Endo, Post-doc INRIA Rennes-Bretagne Atlantique France 2016-02-11 22:42 GMT+01:00 Abbas Fairouz <[email protected]>: > Hi, > > First of all, Where can I find the implementation code for each Function > Unit of x86? (i.e. IntAlu functional unit) > > I am trying to ass new Functional Unit that run new customised > instructions. Is there a way to create new Functional Unit in x86? Which > file(s) should handle all Functional Units? > > -- > > -------------------- > Best regards, > Abbas Fairouz > -------------------- > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
