View previous topic :: View next topic |
Author |
Message |
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Sun Oct 11, 2020 11:25 am Post subject: Attempt to emit 32-bit instruction in /64 mode |
|
|
The C function below can be compiled without error using SCC 4.31 except when the /debug /64 options are used. With those options, the SCC compiler says:
Code: | [Silverfrost SCC/WIN32 Ver 4.31 Copyright (c) Silverfrost Ltd 2020]
0013 }
*** Attempt to emit 32-bit instruction in /64 mode
1 ERRORS [<I2A> SCC/WIN32 Ver 4.31]
*** Compilation failed |
The source code of the C function:
Code: | void inssrt2a(int *a, int *idx, int l, int r){
int key,j,i,iv;
for(i=l+1; i<=r; i++){
key = a[i]; iv=idx[i];
j=i-1;
while(j >= l && a[j] > key){
a[j+1] = a[j];
idx[j+1]=idx[j];
j--;
}
a[j+1] = key; idx[j+1]=iv;
}
} |
|
|
Back to top |
|
|
PaulLaidler Site Admin
Joined: 21 Feb 2005 Posts: 7925 Location: Salford, UK
|
Posted: Mon Oct 12, 2020 7:51 am Post subject: |
|
|
mecej4
Thank you for the feedback.
64 bit SCC remains generally unsupported. In particular /DEBUG is currently not supported.
The latest SCC can be downloaded via this link...
https://www.dropbox.com/s/yst0phs89tv35se/scc.zip?dl=0 |
|
Back to top |
|
|
mecej4
Joined: 31 Oct 2006 Posts: 1886
|
Posted: Mon Oct 12, 2020 12:18 pm Post subject: |
|
|
Thanks, Paul. |
|
Back to top |
|
|
|