https://llvm.org/bugs/show_bug.cgi?id=24340

            Bug ID: 24340
           Summary: T1 instructions not printed correctly inside IT blocks
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedb...@nondot.org
          Reporter: james.mol...@arm.com
                CC: llvmbugs@cs.uiuc.edu
    Classification: Unclassified

Thumb1 instructions such as "rsbs" are written differently when inside IT
blocks to reflect their change in semantics, according to the ARMARM.

When inside an IT block, these instructions don't set the flags. The ARMARM
says (v7-M ARMARM, A7.7.117:

RSBS <Rd>,<Rn>,#0     Outside IT block. 
RSB<c> <Rd>,<Rn>,#0   Inside IT block.

LLVM does not currently model this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
LLVMbugs@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to