dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/doc unrolling.txt,1.4,1.5


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/doc unrolling.txt,1.4,1.5
Date: Sun, 10 Aug 2003 02:20:12 -0400

Update of /cvsroot/dotgnu-pnet/pnet/doc
In directory subversions:/tmp/cvs-serv5274/doc

Modified Files:
        unrolling.txt 
Log Message:


Add a "cond" parameter to the "md_cmp" macros to indicate
the kind of condition that is being checked for; needed for
PPC and ia64 where the condition codes are set in different
ways for different tests.


Index: unrolling.txt
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/doc/unrolling.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** unrolling.txt       13 Jul 2003 01:34:12 -0000      1.4
--- unrolling.txt       10 Aug 2003 06:20:09 -0000      1.5
***************
*** 456,465 ****
      upon the comparison.
  
! md_cmp_cc_reg_reg_word_32(inst, reg1, reg2)
! md_ucmp_cc_reg_reg_word_32(inst, reg1, reg2)
! md_cmp_cc_reg_reg_word_native(inst, reg1, reg2)
! md_ucmp_cc_reg_reg_word_native(inst, reg1, reg2)
  
      Compare two registers and set the condition codes based on the result.
  
  md_reg_is_null(inst, reg)
--- 456,468 ----
      upon the comparison.
  
! md_cmp_cc_reg_reg_word_32(inst, cond, reg1, reg2)
! md_cmp_cc_reg_reg_word_native(inst, cond, reg1, reg2)
  
      Compare two registers and set the condition codes based on the result.
+       The "cond" argument hints to the code generator as to what kind of
+       condition will be tested for in a subsequent branch instruction.
+ 
+       This is needed on some CPU's (e.g. PPC and ia64) to modify the manner
+       in which the condition codes are set.
  
  md_reg_is_null(inst, reg)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]