Displaying 3 results from an estimated 3 matches for "thunderx2t99model".
2017 Sep 22
2
SchedClasses
...m::MCInstrInfo II;
llvm::InitAArch64MCInstrInfo(&II);
llvm::StringRef ref = II.getName(llvm::AArch64::LDADDALX);
llvm::MCInstrDesc d = II.get(llvm::AArch64::LDADDALX);
printf("name %s; class %d\n", ref.str().c_str(), d.SchedClass);
printf("microops %d\n", llvm::ThunderX2T99Model.getSchedClassDesc(d.SchedClass)->NumMicroOps);
return 0;
}
/*
LDADDALB_LDADDALH_LDADDALW_LDADDALX = 872, in Sched enum
*/
2017 Sep 29
0
SchedClasses
...tAArch64MCInstrInfo(&II);
>
> llvm::StringRef ref = II.getName(llvm::AArch64::LDADDALX);
> llvm::MCInstrDesc d = II.get(llvm::AArch64::LDADDALX);
>
> printf("name %s; class %d\n", ref.str().c_str(), d.SchedClass);
>
> printf("microops %d\n", llvm::ThunderX2T99Model.getSchedClassDesc(d.SchedClass)->NumMicroOps);
>
> return 0;
> }
>
> /*
> LDADDALB_LDADDALH_LDADDALW_LDADDALX = 872, in Sched enum
> */
I bet the problem is that “WriteAtomic” is marked unsupported, so it gets an invalid sched class. The invalid NumMicroOps means that...
2017 Sep 30
1
SchedClasses
...t; >
> > llvm::StringRef ref = II.getName(llvm::AArch64::LDADDALX);
> > llvm::MCInstrDesc d = II.get(llvm::AArch64::LDADDALX);
> >
> > printf("name %s; class %d\n", ref.str().c_str(), d.SchedClass);
> >
> > printf("microops %d\n", llvm::ThunderX2T99Model.getSchedClassDesc(d.
> SchedClass)->NumMicroOps);
> >
> > return 0;
> > }
> >
> > /*
> > LDADDALB_LDADDALH_LDADDALW_LDADDALX = 872, in Sched enum
> > */
>
> I bet the problem is that “WriteAtomic” is marked unsupported, so it gets
> an inv...