Silverfrost Forums

Welcome to our forums

Attempt to emit 32-bit instruction in /64 mode

11 Oct 2020 10:25 #26460

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:

[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:

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;
   }
}
12 Oct 2020 6:51 #26462

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

12 Oct 2020 11:18 #26463

Thanks, Paul.

Please login to reply.