Changeset 769 for trunk/src/corelib/arch/qatomic_s390.h
- Timestamp:
- Aug 2, 2010, 9:27:30 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.6.3 (added) merged: 768 /branches/vendor/nokia/qt/current merged: 767 /branches/vendor/nokia/qt/4.6.2 removed
- Property svn:mergeinfo changed
-
trunk/src/corelib/arch/qatomic_s390.h
r651 r769 367 367 { 368 368 #ifndef __s390x__ 369 return (T*)__CS_OLD_LOOP(reinterpret_cast<volatile long*>(_q_value), (int)newValue, "lr", 370 "", "bcr 15,0\n"); 371 #else 372 return (T*)__CSG_OLD_LOOP(reinterpret_cast<volatile long*>(_q_value), (long)newValue, "lgr", 373 "", "bcr 15,0\n"); 369 return (T*)__CS_OLD_LOOP(&_q_value, (int)newValue, "lr", "", ""); 370 #else 371 return (T*)__CSG_OLD_LOOP(&_q_value, (long)newValue, "lgr", "", ""); 374 372 #endif 375 373 } … … 379 377 { 380 378 #ifndef __s390x__ 381 return (T*)__CS_OLD_LOOP( reinterpret_cast<volatile long*>(_q_value), (int)newValue, "lr", "", "");382 #else 383 return (T*)__CSG_OLD_LOOP( reinterpret_cast<volatile long*>(_q_value), (long)newValue, "lgr", "", "");379 return (T*)__CS_OLD_LOOP("); 380 #else 381 return (T*)__CSG_OLD_LOOP("); 384 382 #endif 385 383 } … … 389 387 { 390 388 #ifndef __s390x__ 391 return (T*)__CS_OLD_LOOP(reinterpret_cast<volatile long*>(_q_value), (int)newValue, "lr", 392 "bcr 15,0 \n", ""); 393 #else 394 return (T*)__CSG_OLD_LOOP(reinterpret_cast<volatile long*>(_q_value), (long)newValue, "lgr", 395 "bcr 15,0\n", ""); 389 return (T*)__CS_OLD_LOOP(&_q_value, (int)newValue, "lr", "bcr 15,0 \n", ""); 390 #else 391 return (T*)__CSG_OLD_LOOP(&_q_value, (long)newValue, "lgr", "bcr 15,0\n", ""); 396 392 #endif 397 393 }
Note:
See TracChangeset
for help on using the changeset viewer.