Hello Everyone,
    In GCC I found a MACRO called STRIP_NOPS and it is defined as the
following:
 
#define STRIP_NOPS(EXP)                                         \
  while ((TREE_CODE (EXP) == NOP_EXPR                           \
          || TREE_CODE (EXP) == CONVERT_EXPR                    \
          || TREE_CODE (EXP) == NON_LVALUE_EXPR)                \
         && TREE_OPERAND (EXP, 0) != error_mark_node            \
         && (TYPE_MODE (TREE_TYPE (EXP))                        \
             == TYPE_MODE (TREE_TYPE (TREE_OPERAND (EXP, 0))))) \
    (EXP) = TREE_OPERAND (EXP, 0)

 
I am currently having a VLIW architecture and I want to put NOPs between
the dependent instructions... So if I disable this #define, then will it
do the trick? Can someone please explain to me ohw this works?
 
Any help is greatly appreciated!

Please CC me in your response since I am not a subscribed to this list.
 
Yours Sincerely,
 
Balaji V. Iyer. 
 

 
-- 
 
Balaji V. Iyer
PhD Candidate, 
Center for Efficient, Scalable and Reliable Computing,
Department of Electrical and Computer Engineering,
North Carolina State University.


Reply via email to