Displaying 3 results from an estimated 3 matches for "getschedclassdesc".
2017 Sep 22
2
SchedClasses
...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
...o(&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 the scheduler will...
2017 Sep 30
1
SchedClasses
...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....