This is the mail archive of the cgen@sources.redhat.com mailing list for the CGEN project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Generating CPU family headers for multiple isas


   Hm, that reminds me.  Does it make much sense to have isa-specific
   hardware?  I can see some cgen-time error checking (to keep isa
   semantics limited to isa-visible hardware/operands), but at run time,
   generating a single unified struct of all isas' hardware seems
   appropriate.

Doing this also drastically simplifies the process of writing out
getter/setter cover functions to access said hardware.

Ben


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]