use of com.dat3m.dartagnan.program.processing.compilation.Compilation in project Dat3M by hernanponcedeleon.
the class WrongTargetTest method X86CompiledToARM8.
@Test(expected = IllegalArgumentException.class)
public void X86CompiledToARM8() throws Exception {
Program p = new ProgramParser().parse(new File(ResourceHelper.LITMUS_RESOURCE_PATH + "litmus/X86/2+2W+mfence-rmws.litmus"));
LoopUnrolling.newInstance().run(p);
Compilation comp = Compilation.newInstance();
comp.setTarget(Arch.ARM8);
comp.run(p);
}
Aggregations