An Instruction Scheduler to perform ILP and DLP for Multicore system