[svn] / trunk / xvidcore / src / portab.h Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/portab.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1586, Wed Jan 5 23:02:15 2005 UTC revision 1774, Sat Jun 2 13:53:13 2007 UTC
# Line 21  Line 21 
21   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: portab.h,v 1.54 2005-01-05 23:02:15 edgomez Exp $   * $Id: portab.h,v 1.57 2007-06-02 13:53:13 syskin Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 75  Line 75 
75  #    define CACHE_LINE 64  #    define CACHE_LINE 64
76  #    define ptr_t uint32_t  #    define ptr_t uint32_t
77  #    define intptr_t int32_t  #    define intptr_t int32_t
78    #    define _INTPTR_T_DEFINED
79  #    if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER)  #    if defined(_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER)
80  #        include <stdarg.h>  #        include <stdarg.h>
81  #    else  #    else
# Line 84  Line 85 
85  #    define CACHE_LINE  64  #    define CACHE_LINE  64
86  #    define ptr_t uint64_t  #    define ptr_t uint64_t
87  #    define intptr_t int64_t  #    define intptr_t int64_t
88    #    define _INTPTR_T_DEFINED
89  #    if defined (_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER)  #    if defined (_MSC_VER) && _MSC_VER >= 1300 && !defined(__INTEL_COMPILER)
90  #        include <stdarg.h>  #        include <stdarg.h>
91  #    else  #    else
# Line 130  Line 132 
132                  va_start(args, fmt);                  va_start(args, fmt);
133                  vsprintf(buf, fmt, args);                  vsprintf(buf, fmt, args);
134                  va_end(args);                  va_end(args);
135                  OutputDebugString(buf);                  OutputDebugStringA(buf);
136                  fprintf(stderr, "%s", buf);                  fprintf(stderr, "%s", buf);
137          }          }
138  }  }
# Line 291  Line 293 
293   *---------------------------------------------------------------------------*/   *---------------------------------------------------------------------------*/
294  #    elif defined(ARCH_IS_IA64)  #    elif defined(ARCH_IS_IA64)
295  #        define BSWAP(a)  __asm__ __volatile__ \  #        define BSWAP(a)  __asm__ __volatile__ \
296          ("mux1 %1 = %0, @rev" ";;" \          ("mux1 %0 = %1, @rev" ";;" \
297           "shr.u %1 = %1, 32" : "=r" (a) : "r" (a));           "shr.u %0 = %0, 32" : "=r" (a) : "r" (a));
298    
299  static __inline int64_t read_counter(void)  static __inline int64_t read_counter(void)
300  {  {

Legend:
Removed from v.1586  
changed lines
  Added in v.1774

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4