[LLVMdev] [ARM, AArch64 backend] query regarding alias instructions

Jyoti Rajendra Allur jyoti.allur at samsung.com
Thu Jan 8 02:55:39 PST 2015


Hi All,
1. What are the various benefits of concept of alias instructions?
2. Could someone explain the benefit w.r.t CSET instruction in aarch64
CSET
Conditional set : Rd = if cond then 1 else 0
This instruction is an alias of the CSINC instruction.

3. Is handcoding of the instruction encoding and running -disassemble on llvm-mc the only way to detect the correctness of the aliases provided?
    like in the testcases provided at \llvm\test\MC\Disassembler\AArch64

Regards,
Jyoti Allur






More information about the llvm-dev mailing list