stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r570420 - in /incubator/stdcxx/trunk/src: i86/atomic.s i86_64/atomic.s ia64/atomic-64.s ia64/atomic.s parisc/atomic-64.s parisc/atomic.s sparc/atomic-64.s sparc/atomic.s
Date Tue, 28 Aug 2007 13:40:54 GMT
Author: faridz
Date: Tue Aug 28 06:40:53 2007
New Revision: 570420

URL: http://svn.apache.org/viewvc?rev=570420&view=rev
Log:
2007-08-28 Farid Zaripov <Farid_Zaripov@epam.com>

	* ia64/atomic-64.s: Updated copyright notice.
	* ia64/atomic.s: Ditto.
	* parisc/atomic-64.s: Ditto.
	* parisc/atomic.s: Ditto.
	* sparc/atomic-64.s: Ditto.
	* sparc/atomic.s: Ditto.
	* i86/atomic.s: Updated comments.
	* i86_64/atomic.s: Updated copyright notice and comments.

Modified:
    incubator/stdcxx/trunk/src/i86/atomic.s
    incubator/stdcxx/trunk/src/i86_64/atomic.s
    incubator/stdcxx/trunk/src/ia64/atomic-64.s
    incubator/stdcxx/trunk/src/ia64/atomic.s
    incubator/stdcxx/trunk/src/parisc/atomic-64.s
    incubator/stdcxx/trunk/src/parisc/atomic.s
    incubator/stdcxx/trunk/src/sparc/atomic-64.s
    incubator/stdcxx/trunk/src/sparc/atomic.s

Modified: incubator/stdcxx/trunk/src/i86/atomic.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/i86/atomic.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/i86/atomic.s (original)
+++ incubator/stdcxx/trunk/src/i86/atomic.s Tue Aug 28 06:40:53 2007
@@ -129,7 +129,7 @@
      .globl SYMNAME (__rw_atomic_add16)
     TYPE_DIR (__rw_atomic_add16, @function)
 
-SYMNAME (__rw_atomic_add16):       /* ; long (long *dst, long inc)    */
+SYMNAME (__rw_atomic_add16):       /* ; short (short *dst, short inc) */
     mov            4(%esp), %ecx   /* ; %ecx = dst                    */
     mov            8(%esp), %eax   /* ; %eax = inc                    */
     mov            %eax, %edx      /* ; */
@@ -137,7 +137,7 @@
     lock
     xaddw          %ax, (%ecx)     /* ; tmp = *dst;
                                       ; dst += inc;
-                                      ; eax = tmp                     */
+                                      ; %ax = tmp                     */
 
     add            %edx, %eax      /* ; return %eax + inc             */
     ret
@@ -153,7 +153,7 @@
     .globl SYMNAME (__rw_atomic_add32)
     TYPE_DIR (__rw_atomic_add32, @function)
 
-SYMNAME (__rw_atomic_add32):       /* ; long (long *dst, long inc)    */
+SYMNAME (__rw_atomic_add32):       /* ; int (int *dst, int inc)       */
     movl           4(%esp), %ecx   /* ; %ecx = dst                    */
     movl           8(%esp), %edx   /* ; %edx = inc                    */
     movl           %edx, %eax      /* ; */

Modified: incubator/stdcxx/trunk/src/i86_64/atomic.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/i86_64/atomic.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/i86_64/atomic.s (original)
+++ incubator/stdcxx/trunk/src/i86_64/atomic.s Tue Aug 28 06:40:53 2007
@@ -6,22 +6,23 @@
  *
  ***************************************************************************
  *
- * Copyright 2005-2006 The Apache Software Foundation or its licensors,
- * as applicable.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
  *
- * Copyright 2005-2006 Rogue Wave Software.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 2005-2006 Rogue Wave Software.
  * 
  **************************************************************************/
 
@@ -55,7 +56,7 @@
     .type __rw_atomic_xchg16, @function
 __rw_atomic_xchg16:                /* ; int16_t (int16_t *x, int16_t y) */
     movq          %rdi, %rcx       /* ; %rcx = x                        */
-    movw          %si,  %ax        /* ; %eax = y                        */
+    movw          %si,  %ax        /* ; %ax = y                         */
     xchgw         %ax, (%rcx)      /* ; %ax <-> (%rcx)                  */
     ret
 
@@ -131,7 +132,7 @@
     lock                           /* ; lock the bus                        */
     xaddw          %ax, (%rcx)     /* ; tmp = *dst                          */
                                    /* ; dst += inc                          */
-                                   /* ; eax = tmp                           */
+                                   /* ; %ax = tmp                            */
 
     addw           %dx,  %ax       /* ; return %ax + inc                    */
     ret
@@ -161,7 +162,7 @@
 
 
 /***************************************************************************
- * extern "C" int64_t __rw_atomic_add32 (int64_t *x, int64_t y);
+ * extern "C" int64_t __rw_atomic_add64 (int64_t *x, int64_t y);
  *
  * Atomically increments the 32-bit value *x by y and returns
  * the new (after increment) 32-bit value of *x.
@@ -177,7 +178,7 @@
     lock                           /* ; lock the bus                        */
     xaddq          %rax, (%rcx)    /* ; tmp = *dst                          */
                                    /* ; dst += inc                          */
-                                   /* ; %eax = tmp                          */
+                                   /* ; %rax = tmp                          */
 
-    addq           %rdx, %rax      /* ; return %eax + inc                   */
+    addq           %rdx, %rax      /* ; return %rax + inc                   */
     ret

Modified: incubator/stdcxx/trunk/src/ia64/atomic-64.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/ia64/atomic-64.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/ia64/atomic-64.s (original)
+++ incubator/stdcxx/trunk/src/ia64/atomic-64.s Tue Aug 28 06:40:53 2007
@@ -1,27 +1,28 @@
 ////////////////////////////////////////////////////////////////////////////
 //
-// atomic-ia64.s
+// ia64/atomic-ia64.s
 //
 // $Id$
 //
 ////////////////////////////////////////////////////////////////////////////
 //
-// Copyright 2005-2006 The Apache Software Foundation or its licensors,
-// as applicable.
+// Licensed to the Apache Software  Foundation (ASF) under one or more
+// contributor  license agreements.  See  the NOTICE  file distributed
+// with  this  work  for  additional information  regarding  copyright
+// ownership.   The ASF  licenses this  file to  you under  the Apache
+// License, Version  2.0 (the  "License"); you may  not use  this file
+// except in  compliance with the License.   You may obtain  a copy of
+// the License at
 //
-// Copyright 2003-2006 Rogue Wave Software.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
+// http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// distributed under the  License is distributed on an  "AS IS" BASIS,
+// WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+// implied.   See  the License  for  the  specific language  governing
+// permissions and limitations under the License.
+//
+// Copyright 2003-2006 Rogue Wave Software.
 //
 ////////////////////////////////////////////////////////////////////////////
 

Modified: incubator/stdcxx/trunk/src/ia64/atomic.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/ia64/atomic.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/ia64/atomic.s (original)
+++ incubator/stdcxx/trunk/src/ia64/atomic.s Tue Aug 28 06:40:53 2007
@@ -1,27 +1,28 @@
 ////////////////////////////////////////////////////////////////////////////
 //
-// atomic-ia64-32.s
+// ia64/atomic.s
 //
 // $Id$
 //
 ////////////////////////////////////////////////////////////////////////////
 //
-// Copyright 2005-2006 The Apache Software Foundation or its licensors,
-// as applicable.
+// Licensed to the Apache Software  Foundation (ASF) under one or more
+// contributor  license agreements.  See  the NOTICE  file distributed
+// with  this  work  for  additional information  regarding  copyright
+// ownership.   The ASF  licenses this  file to  you under  the Apache
+// License, Version  2.0 (the  "License"); you may  not use  this file
+// except in  compliance with the License.   You may obtain  a copy of
+// the License at
 //
-// Copyright 2003-2006 Rogue Wave Software.
-//
-// Licensed under the Apache License, Version 2.0 (the "License");
-// you may not use this file except in compliance with the License.
-// You may obtain a copy of the License at
-//
-//     http://www.apache.org/licenses/LICENSE-2.0
+// http://www.apache.org/licenses/LICENSE-2.0
 //
 // Unless required by applicable law or agreed to in writing, software
-// distributed under the License is distributed on an "AS IS" BASIS,
-// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-// See the License for the specific language governing permissions and
-// limitations under the License.
+// distributed under the  License is distributed on an  "AS IS" BASIS,
+// WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+// implied.   See  the License  for  the  specific language  governing
+// permissions and limitations under the License.
+//
+// Copyright 2003-2006 Rogue Wave Software.
 //
 ////////////////////////////////////////////////////////////////////////////
 

Modified: incubator/stdcxx/trunk/src/parisc/atomic-64.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/parisc/atomic-64.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/parisc/atomic-64.s (original)
+++ incubator/stdcxx/trunk/src/parisc/atomic-64.s Tue Aug 28 06:40:53 2007
@@ -1,27 +1,28 @@
 /***************************************************************************
  *
- * atomic-64.s
+ * parisc/atomic-64.s
  *
  * $Id$
  *
  ***************************************************************************
  *
- * Copyright 2005-2006 The Apache Software Foundation or its licensors,
- * as applicable.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
  *
- * Copyright 2001-2006 Rogue Wave Software.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
  * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
+ *
+ * Copyright 2001-2006 Rogue Wave Software.
  *
  **************************************************************************/
 

Modified: incubator/stdcxx/trunk/src/parisc/atomic.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/parisc/atomic.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/parisc/atomic.s (original)
+++ incubator/stdcxx/trunk/src/parisc/atomic.s Tue Aug 28 06:40:53 2007
@@ -1,25 +1,30 @@
 /*****************************************************************************
  *
+ * parisc/atomic.s
+ *
  * $Id$
  *
- * Copyright 2005-2006 The Apache Software Foundation or its licensors,
- * as applicable.
+ *****************************************************************************
  *
- * Copyright 2002-2006 Rogue Wave Software.
+ * Licensed to the Apache Software  Foundation (ASF) under one or more
+ * contributor  license agreements.  See  the NOTICE  file distributed
+ * with  this  work  for  additional information  regarding  copyright
+ * ownership.   The ASF  licenses this  file to  you under  the Apache
+ * License, Version  2.0 (the  "License"); you may  not use  this file
+ * except in  compliance with the License.   You may obtain  a copy of
+ * the License at
  *
- * 2002 Copyright Hewlett-Packard Company
+ * http://www.apache.org/licenses/LICENSE-2.0
  *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the  License is distributed on an  "AS IS" BASIS,
+ * WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+ * implied.   See  the License  for  the  specific language  governing
+ * permissions and limitations under the License.
  *
- *     http://www.apache.org/licenses/LICENSE-2.0
+ * Copyright 2002-2006 Rogue Wave Software.
  *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
+ * 2002 Copyright Hewlett-Packard Company
  *
  * Routines for atomic increment and decrement of int32_t values
  *

Modified: incubator/stdcxx/trunk/src/sparc/atomic-64.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/sparc/atomic-64.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/sparc/atomic-64.s (original)
+++ incubator/stdcxx/trunk/src/sparc/atomic-64.s Tue Aug 28 06:40:53 2007
@@ -1,27 +1,28 @@
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !
-! atomic-64.s
+! sparc/atomic-64.s
 !
 ! $Id$
 !
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !
-! Copyright 2005-2006 The Apache Software Foundation or its licensors,
-! as applicable.
+! Licensed to the Apache Software  Foundation (ASF) under one or more
+! contributor  license agreements.  See  the NOTICE  file distributed
+! with  this  work  for  additional information  regarding  copyright
+! ownership.   The ASF  licenses this  file to  you under  the Apache
+! License, Version  2.0 (the  "License"); you may  not use  this file
+! except in  compliance with the License.   You may obtain  a copy of
+! the License at
 !
-! Copyright 2002-2006 Rogue Wave Software.
-!
-! Licensed under the Apache License, Version 2.0 (the "License");
-! you may not use this file except in compliance with the License.
-! You may obtain a copy of the License at
-!
-!     http://www.apache.org/licenses/LICENSE-2.0
+! http://www.apache.org/licenses/LICENSE-2.0
 !
 ! Unless required by applicable law or agreed to in writing, software
-! distributed under the License is distributed on an "AS IS" BASIS,
-! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-! See the License for the specific language governing permissions and
-! limitations under the License.
+! distributed under the  License is distributed on an  "AS IS" BASIS,
+! WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+! implied.   See  the License  for  the  specific language  governing
+! permissions and limitations under the License.
+!
+! Copyright 2002-2006 Rogue Wave Software.
 !
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 

Modified: incubator/stdcxx/trunk/src/sparc/atomic.s
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/src/sparc/atomic.s?rev=570420&r1=570419&r2=570420&view=diff
==============================================================================
--- incubator/stdcxx/trunk/src/sparc/atomic.s (original)
+++ incubator/stdcxx/trunk/src/sparc/atomic.s Tue Aug 28 06:40:53 2007
@@ -1,27 +1,28 @@
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !
-! atomic-sparc.s
+! sparc/atomic.s
 !
 ! $Id$
 !
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 !
-! Copyright 2005-2006 The Apache Software Foundation or its licensors,
-! as applicable.
+! Licensed to the Apache Software  Foundation (ASF) under one or more
+! contributor  license agreements.  See  the NOTICE  file distributed
+! with  this  work  for  additional information  regarding  copyright
+! ownership.   The ASF  licenses this  file to  you under  the Apache
+! License, Version  2.0 (the  "License"); you may  not use  this file
+! except in  compliance with the License.   You may obtain  a copy of
+! the License at
 !
-! Copyright 2002-2006 Rogue Wave Software.
-!
-! Licensed under the Apache License, Version 2.0 (the "License");
-! you may not use this file except in compliance with the License.
-! You may obtain a copy of the License at
-!
-!     http://www.apache.org/licenses/LICENSE-2.0
+! http://www.apache.org/licenses/LICENSE-2.0
 !
 ! Unless required by applicable law or agreed to in writing, software
-! distributed under the License is distributed on an "AS IS" BASIS,
-! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-! See the License for the specific language governing permissions and
-! limitations under the License.
+! distributed under the  License is distributed on an  "AS IS" BASIS,
+! WITHOUT  WARRANTIES OR CONDITIONS  OF ANY  KIND, either  express or
+! implied.   See  the License  for  the  specific language  governing
+! permissions and limitations under the License.
+!
+! Copyright 2002-2006 Rogue Wave Software.
 !
 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 



Mime
View raw message