Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf454d62

Browse files
committed
On Solaris ASM, / '/' is the comment for x86, while '!' is the comment
for SparcRobert Lor
1 parentc51c277 commitf454d62

File tree

2 files changed

+10
-4
lines changed

2 files changed

+10
-4
lines changed

‎src/backend/port/tas/solaris_sparc.s

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
! solaris_sparc.s -- compareand swap for solaris_sparc
33
!=======================================================================
44

5+
! Fortunately the Sun compiler can process cpp conditionals with -P
6+
7+
! '/' is the comment for x86, while '!' is the comment for Sparc
8+
59
#if defined(__sparcv9) || defined(__sparc)
610

711
.section".text"

‎src/backend/port/tas/solaris_x86.s

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
!=======================================================================
2-
! solaris_i386.s -- compareand swap for solaris_i386
3-
!=======================================================================
1+
/=======================================================================
2+
/ solaris_i386.s -- compare and swap for solaris_i386
3+
/=======================================================================
44

5-
! Fortunately the Sun compiler can process cpp conditionals with -P
5+
/ Fortunately the Sun compiler can process cpp conditionals with -P
6+
7+
/ '/' is the comment for x86, while '!' is the comment for Sparc
68

79
.file"tas.s"
810

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp