Skip to content

Commit 3c5f3b3

Browse files
committed
Replace si_int by int for some other helpers
1 parent 33954c4 commit 3c5f3b3

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

compiler-rt/lib/builtins/cmpdi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// if (a == b) returns 1
1717
// if (a > b) returns 2
1818

19-
COMPILER_RT_ABI si_int __cmpdi2(di_int a, di_int b) {
19+
COMPILER_RT_ABI int __cmpdi2(di_int a, di_int b) {
2020
dwords x;
2121
x.all = a;
2222
dwords y;

compiler-rt/lib/builtins/cmpti2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// if (a == b) returns 1
1919
// if (a > b) returns 2
2020

21-
COMPILER_RT_ABI si_int __cmpti2(ti_int a, ti_int b) {
21+
COMPILER_RT_ABI int __cmpti2(ti_int a, ti_int b) {
2222
twords x;
2323
x.all = a;
2424
twords y;

compiler-rt/lib/builtins/ucmpdi2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// if (a == b) returns 1
1717
// if (a > b) returns 2
1818

19-
COMPILER_RT_ABI si_int __ucmpdi2(du_int a, du_int b) {
19+
COMPILER_RT_ABI int __ucmpdi2(du_int a, du_int b) {
2020
udwords x;
2121
x.all = a;
2222
udwords y;

compiler-rt/lib/builtins/ucmpti2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
// if (a == b) returns 1
1919
// if (a > b) returns 2
2020

21-
COMPILER_RT_ABI si_int __ucmpti2(tu_int a, tu_int b) {
21+
COMPILER_RT_ABI int __ucmpti2(tu_int a, tu_int b) {
2222
utwords x;
2323
x.all = a;
2424
utwords y;

compiler-rt/test/builtins/Unit/cmpdi2_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// if (a == b) returns 1
99
// if (a > b) returns 2
1010

11-
COMPILER_RT_ABI si_int __cmpdi2(di_int a, di_int b);
11+
COMPILER_RT_ABI int __cmpdi2(di_int a, di_int b);
1212

1313
int test__cmpdi2(di_int a, di_int b, si_int expected)
1414
{

compiler-rt/test/builtins/Unit/cmpti2_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// if (a == b) returns 1
1212
// if (a > b) returns 2
1313

14-
COMPILER_RT_ABI si_int __cmpti2(ti_int a, ti_int b);
14+
COMPILER_RT_ABI int __cmpti2(ti_int a, ti_int b);
1515

1616
int test__cmpti2(ti_int a, ti_int b, si_int expected)
1717
{

compiler-rt/test/builtins/Unit/ucmpdi2_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// if (a == b) returns 1
99
// if (a > b) returns 2
1010

11-
COMPILER_RT_ABI si_int __ucmpdi2(du_int a, du_int b);
11+
COMPILER_RT_ABI int __ucmpdi2(du_int a, du_int b);
1212

1313
int test__ucmpdi2(du_int a, du_int b, si_int expected)
1414
{

compiler-rt/test/builtins/Unit/ucmpti2_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
// if (a == b) returns 1
1212
// if (a > b) returns 2
1313

14-
COMPILER_RT_ABI si_int __ucmpti2(tu_int a, tu_int b);
14+
COMPILER_RT_ABI int __ucmpti2(tu_int a, tu_int b);
1515

1616
int test__ucmpti2(tu_int a, tu_int b, si_int expected)
1717
{

0 commit comments

Comments
 (0)