repo_name
stringlengths
5
122
path
stringlengths
3
232
text
stringlengths
6
1.05M
stardot/ncc
armthumb/peeptest.c
/* * C compiler file arm/peeptest.c. * Copyright (C) 1992 Advanced Risc Machines Limited. All rights reserved * Peepholer testbed. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdarg.h> #include <ctype.h> #include <stdlib.h> #include <string.h...
stardot/ncc
mip/aeops.h
<reponame>stardot/ncc<filename>mip/aeops.h<gh_stars>0 /* * C compiler file aeops.h, Version 46 * Copyright (C) Codemist Ltd., 1988-1992. * Copyright Advanced RISC Machines Limited, 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _aeops_L...
stardot/ncc
mip/util.h
<gh_stars>0 /* * C compiler file util.h, version 0.02 * Copyright (C) Codemist Ltd., 1987. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _util_LOADED #define _util_LOADED 1 #define isodigit(c) (!((c)-'0' & ~7)) /* tests for octal digit ...
stardot/ncc
mip/regalloc.c
/* * C compiler file mip/regalloc.c. * Copyright (C) Codemist Ltd., 1988, 1991. * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 73 * Checkin $Date$ * Revising $Author$ */ /* AM, Sept 91: In this version of the code (67), I have arranged to ...
stardot/ncc
mip/flowgraf.c
/* * C compiler file mip/flowgraf.c * Copyright (C) Codemist Ltd., 1988. * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 74 * Checkin $Date$ * Revising $Author$ */ /* AM hack in progress: fixu...
stardot/ncc
cfe/simplify.h
<filename>cfe/simplify.h /* * simplify.h, version 3 * Copyright (C) Codemist Ltd, 1988-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Ltd., 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _...
stardot/ncc
thumb/peephole.c
/* * C compiler file thumb/peephole.c. * Copyright (C) Codemist Ltd, 1988. * Copyright (C) Acorn Computers Ltd., 1988 * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include "globals....
stardot/ncc
util/striphdr.c
/* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* * C compiler support file StripHdrs.c * Copyright (C) Codemist Ltd, 1987. * Copyright (C) Acorn Computers Ltd., 1988 * SPDX-Licence-Identifier: Apache-2.0 */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <stddef.h> #include ...
stardot/ncc
mip/drivhelp.h
/* * drivhelp.c -- help text for Norcroft C/FORTRAN compiler, version 1b. * Copyright (C) Codemist Ltd., 1989. * Copyright (C) Acorn Computers Ltd., 1989. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* The help text here is not what is wanted on non-Ac...
stardot/ncc
mip/cg.c
<gh_stars>0 /* * C compiler file cg.c * Copyright (C) Codemist Ltd, 1988. * Copyright (C) Acorn Computers Ltd., 1988. * Copyright 1991-1997 Advanced Risc Machines Limited. All rights reserved * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 119 * Checkin $Date$ * Revising $Author$ */ /*...
stardot/ncc
cfe/sem.h
/* * sem.c: semantic analysis phase of C compiler * Copyright (C) Codemist Ltd, 1988-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Ltd., 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _se...
stardot/ncc
mip/aoutobj.c
/* * C compiler file mip/aoutobj.c * Copyright (C) <NAME>, 1987. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 14x * Checkin $Date$ * Revising $Author$ */ /* Memo: AM is converting this file into a generic (target machine/os */ /* parameteri...
stardot/ncc
armthumb/asd.c
/* * C compiler file arm/asd.c, version 6c * Copyright (C) Codemist Ltd, 1988 * Copyright (C) Acorn Computers Ltd., 1988 * Copyright: (C) 1991, 1994, Advanced RISC Machines Limited. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /...
stardot/ncc
cppint/options.h
<reponame>stardot/ncc /* * options.h -- compiler configuration options set at compile time * Copyright (C) Acorn Computers Ltd. 1988 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _options_LOADED #define _options_LOADED /* * The following conditi...
stardot/ncc
mip/regsets.h
<gh_stars>0 /* * regsets.h, version 1a * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _regsets_h #define _regsets_h 1 #ifndef _defs_LOADED # include "defs.h" #endif...
stardot/ncc
tests/2581.c
/* ARM C library test */ /* Copyright (C) Advanced RISC Machines, 1997. All Rights Reserved */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #define LONG_LONG #include <stdlib.h> #include <limits.h> #include "testutil.h" #include "mathtest.h" #include "mat...
stardot/ncc
arm/mcdep.c
<gh_stars>0 /* * mcdep.c - miscellaneous target-dependent things. * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <ctype.h> #include <string.h> #include <stdlib.h> #include "globals.h" #include "mcdep.h"...
stardot/ncc
arm/mcvsn.h
<reponame>stardot/ncc<filename>arm/mcvsn.h #define MC_VERSION "500"
stardot/ncc
mip/dbx.c
<gh_stars>0 /* * C compiler file dbx.c, version 5 * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef NO_VERSION_STRINGS extern char dbx_version[]; char dbx_version[] = "...
stardot/ncc
ccarm/options.h
/* * options.h -- compiler configuration options set at compile time * Copyright (C) 1991, 1992 Advanced RISC Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _options_LOADED #define _options_LOADED /* * The follo...
stardot/ncc
mip/dwarf1.c
/* * C compiler file mip/dwarf1.c * Copyright: (C) 1995, Advanced RISC Machines Limited. All rights reserved. * Writer for DWARF version 1 debug tables. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include "globals.h" #if define...
stardot/ncc
tests/2597.c
/* Test for what sqrt() should return */ /* Copyright (C) 1997, Advanced RISC Machines, All Rights Reserved. */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdlib.h> #include <math.h> #include <errno.h> #include "testutil.h" #include "mathtest.h"...
stardot/ncc
tests/2789.c
<filename>tests/2789.c<gh_stars>0 /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdlib.h> #include "testutil.h" typedef unsigned...
stardot/ncc
cfe/syn.c
<filename>cfe/syn.c /* * cfe/syn.c: syntax analysis phase of C/C++ compiler. * Copyright (C) Codemist Ltd., 1988-1993 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 188 * Checkin $Date$...
stardot/ncc
mip/codebuf.h
/* * codebuf.h : target-independent part of object code generation, version 23 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd, 1988-1992. * Copyright (C) Advanced Risc Machines Ltd., 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revis...
stardot/ncc
mip/cse.c
<gh_stars>0 /* * cse.c: Common sub-expression elimination * Copyright (C) Acorn Computers Ltd., 1988. * Copyright 1991-1997 Advanced Risc Machines Limited. All rights reserved * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 133 * Checkin $Date$ * Revising $Author$ */ #ifdef __STDC__ # ...
stardot/ncc
util/timelim.c
<filename>util/timelim.c /* * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ #include <stdio.h> #include <time.h> int main() { time_t now = time(0); struct tm tms = *localtime(&now); fprintf(stderr, "Today is %s", ctime(&now)); /* >>>>>>>> EXPIRE at 23:59 on 0...
stardot/ncc
cfe/vargen.c
<reponame>stardot/ncc<filename>cfe/vargen.c /* * vargen.c: static initialised variable generator for C compiler * Copyright (C) Codemist Ltd, 1988-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $...
stardot/ncc
ccthumb/options.h
/* * options.h -- compiler configuration options set at compile time * Copyright (C) Acorn Computers Ltd. 1988 * Copyright (C) Codemist Ltd., 1994 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _options_LOADED #define _options_LOADED /* * The fo...
stardot/ncc
mip/inline.h
<filename>mip/inline.h /* * inline.h: inline function expansion * Copyright (C) Advanced Risc Machines Ltd., 1993 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _inline_h #define _inline_h #ifndef _cgdefs_h # include "cgdefs.h" #endif #ifndef _jo...
stardot/ncc
arm/gen.c
/* * C compiler file arm/gen.c. * Copyright (C) Codemist Ltd, 1988. * Copyright (C) Acorn Computers Ltd., 1988 * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 48 * Checkin $Date$ * Revising $Author$ */ /* @@@ AM memo: the uses of bind_...
stardot/ncc
tests/2483.c
/* ARM C library test $RCSfile$. */ /* (Fault this tests for is /softfp only) */ /* Copyright (C) Advanced RISC Machines, 1997. All Rights Reserved */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdio.h> #include "testutil.h" #include "mathtest.h...
stardot/ncc
cfe/asmsyn.c
<filename>cfe/asmsyn.c /* * asmsyn.c: syntax analysis & parsing of ARM/Thumb inline assembler * Copyright (C) Advanced Risc Machines Ltd., 1997. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include <ctype.h> #inc...
stardot/ncc
tests/2277.c
<reponame>stardot/ncc /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" /********************* 2277 *******************...
stardot/ncc
mip/arm_version.c
/* * mip/version.c * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * Copyright (C) Codemist Ltd, 1987-1994. * SPDX-Licence-Identifier: Apache-2.0 * Defines the version string and banner for the Codemist or OEM compiler. */ /* * RCS $Revision$ * Check...
stardot/ncc
clbcomp/clbcomp.c
<gh_stars>0 /* * ccomp/ccomp.c: callable compiler * Copyright (C) Advanced RISC Machines Limited, 1996. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <signal.h> #include "globals.h" /* for errstate_init() */ #include "aetree.h" /* aetree_i...
stardot/ncc
cppfe/xlex.c
/* * C++ compiler file xlex.c * Copyright (C) Codemist Ltd., 1988-1992 * Copyright (C) Acorn Computers Ltd., 1988-1990 * Copyright (C) Advanced RISC Machines Ltd., 1990-1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #if...
stardot/ncc
tests/packed.c
<gh_stars>0 /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include "testutil.h" typedef __packed struct { int (*f)(i...
stardot/ncc
arm/ops.h
/* * C compiler file arm/ops.h * Copyright (C) Advanced RISC Machines Limited, 1997 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* This file is not used at all: armthumb/armops.h is. */ /* It is needed to maintain identity in the set of files */ /* ne...
stardot/ncc
armthumb/aaof.c
<gh_stars>0 /* * C compiler file aaof.c, version 18d * Copyright (C) CodeMist Ltd., 1988 * Copyright (C) Acorn Computers Ltd., 1988 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifdef __STDC__ #include <string.h> #else #define SEEK_SET 0 #include <stri...
stardot/ncc
mip/sr.h
<gh_stars>0 /* * sr.h: binder live range splitting * Copyright (C) Advanced Risc Machines Ltd., 1993 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _sr_h #define _sr_h struct SuperBinder { SuperBinder *cdr; Binder *binder; int32 spillcount; ...
stardot/ncc
tests/1929.c
<filename>tests/1929.c /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" /********************* 1929 *******************...
stardot/ncc
mip/builtin.h
/* * mip/builtin.h: * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _builtin_h #define _builtin_h...
stardot/ncc
mip/mcdep.h
/* * C compiler file mcdep.h * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 4 * Checkin $Date$ * Revising $Author$ */ /* * (Interface for target-dependent part of local code generation). */ #ifndef _mcdep_h #define _mcdep_h 1 #ifndef _glob...
stardot/ncc
armthumb/mcerrs.h
/* * arm/mcerrs.h - prototype for machine-specific error messages file * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef NLS /* if NLS, miperrs will have included tags */ %O /* Ordinary error messages - mapped onto numeric codes *...
stardot/ncc
cppfe/xvargen.c
/* * xvargen.c: static initialised variable extensions for C++ compiler * Copyright (C) Codemist Ltd, 1992 * Copyright (C) Advanced RISC Machines Ltd., 1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "globals.h" ...
stardot/ncc
thumb/ops.h
<reponame>stardot/ncc /* * C compiler file thumb/ops.h, version 1 * Copyright (C) Codemist Ltd., 1994 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _thumbops_LOADED #define _thumbops_LOADED 1 /* ARM opcodes used by Thumb */ #define ARM_AL ...
stardot/ncc
util/peepgen.c
<reponame>stardot/ncc /* * peepgen.c: Peephole table generator * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdlib.h> #include <ctype.h> #include <string.h> #include <stdio.h> #ifdef __STDC__ # ...
stardot/ncc
cfe/syn.h
<gh_stars>0 /* * cfe/syn.h * Copyright (C) Acorn Computers Ltd., 1988 * Copyright (C) Codemist Ltd., 1988-1993 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _syn_h #define _syn_h #ifndef _defs_LOADED # include "defs.h" #endif extern bool syn_h...
stardot/ncc
mip/main.c
/* * main.c * The top level module of the compiler. * Copyright (C) 1996 Advanced RISC Machines Limited. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdio.h> #include <stdarg.h> #include <string.h> #include <stdlib.h> #i...
stardot/ncc
mip/defs.h
<reponame>stardot/ncc /* * defs.h: front-end to cg interface. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 130 * Checkin $Date$ * Revis...
stardot/ncc
tests/1918.c
<reponame>stardot/ncc /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" /********************* 1918 *******************...
stardot/ncc
tests/fcmp.c
/* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" #include <stdio.h> #include <stdlib.h> #include <setjmp.h> #include <si...
stardot/ncc
tests/inlnarm.c
<reponame>stardot/ncc /* * ARM C compiler inline assembler test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" #include <stdlib.h> #include <string.h> in...
stardot/ncc
mip/compiler.c
/* * C compiler file compiler.c * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 147 * Checkin $Date$ * Revising $Author$ */ /* AM Mar 8...
stardot/ncc
clbcomp/clb_store.c
/* * clbcomp/clb_store.c: Storage allocation for the Codemist C compiler * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1990-1992, 1996. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * R...
stardot/ncc
tests/regress.c
/* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <setjmp.h> #include <stdio.h> #include <string.h> #include "testutil.h" /**********...
stardot/ncc
mip/dwarf2.c
/* * C compiler file mip/dwarf1.c * Copyright: (C) 1995, Advanced RISC Machines Limited. All rights reserved. * Writer for DWARF version 2 debug tables. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include "globals.h" #if define...
stardot/ncc
armthumb/armops.h
/* * C compiler file armthumb/armops.h, version 3 * Copyright (C) Codemist Ltd., 1987 * SPDX-Licence-Identifier: Apache-2.0 * (Was arm/ops.h) */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _armops_LOADED #define _armops_LOADED 1 /* AM some lines commented out temporarily and duplicat...
stardot/ncc
util/toansi.c
<reponame>stardot/ncc<gh_stars>0 /* * Tool to translate between ANSI and pcc-style function headers. * Copyright (C) <NAME>, 1988, 1989. * SPDX-Licence-Identifier: Apache-2.0 */ #include <stdio.h> #include <ctype.h> #include <stdlib.h> #include <string.h> #include <signal.h> #include <stdarg.h> #define SELF ...
stardot/ncc
tests/2232.c
<gh_stars>0 /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" /********************* 2232 ***********************/ /* ...
stardot/ncc
cfe/vargen.h
/* * cfe/vargen.h: * Copyright (C) Acorn Computers Ltd., 1988 * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 4 * Checkin $Date$ * Revising $Author$ */ #ifndef _vargen_h #define _vargen_h #ifndef _defs_LOADED # include "defs.h" #endif #if !defined...
stardot/ncc
armthumb/asmcg.c
<filename>armthumb/asmcg.c /* * asmcg.c: code generation for ARM/Thumb inline assembler * Copyright (C) Advanced Risc Machines Ltd., 1997. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stddef.h> #include <stdlib.h> #include ...
stardot/ncc
mip/coff.h
<gh_stars>0 /* mip/coff.h: data structures and constants for COFF, */ /* loosely taken from Unix sysV operating system programmer's guide. */ /* version 1d. */ /* Copyright (C) Codemist Ltd, 1988, 1991. */ /* SPDX-...
stardot/ncc
mip/jopprint.c
<filename>mip/jopprint.c /* * file jopprint.c - things maybe used while debugging compiler * Copyright (C) Codemist Ltd., April 1986. * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 23 * Checkin $Date$ * Revising $Author$ */ #ifdef __STDC__ # ...
stardot/ncc
tests/1192.c
/* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdio.h> #include "testutil.h" #define BUFFER_SECS 2 #define SAMPLERATE 500 #defi...
stardot/ncc
mip/miperrs.h
<gh_stars>0 /* * C compiler error prototype file (miperrs.h) * Copyright (C) Codemist Ltd, 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 151 * Checkin $Date$ * Revising $Author$ */ /* * This file is input to the genhdrs utility, which can compress error * strings (but leaving e...
stardot/ncc
armthumb/arminst.h
/* * armthumb/arminst.h * Copyright (C) Codemist Ltd., 1987-1993 * Copyright (C) Advanced RISC Machines Limited., 1990-1997 * SPDX-Licence-Identifier: Apache-2.0 * * Functions to generate sequences of ARM instructions required by * both ARM and Thumb backends */ /* * RCS $Revision$ * Checkin $Date$ * Revisi...
stardot/ncc
cppfe/xsyn.c
<gh_stars>0 /* * xsyn.c: syntax analysis phase of C++ compiler. * Copyright (C) Codemist Ltd., 1988-1993 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Da...
stardot/ncc
tests/2131.c
<gh_stars>0 /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <string.h> #include "testutil.h" /********************* 2131 *********...
stardot/ncc
thumb/tmcdep.c
<gh_stars>0 /* * mcdep.c - miscellaneous target-dependent things. * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <ctype.h> #include <string.h> #include <stdlib.h> #include "globals.h" #include "mcdep.h"...
stardot/ncc
mip/flowgraf.h
<reponame>stardot/ncc /* * mip/flowgraf.h * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _flowgraf_LOADED #define _flowgraf_LOADED 1 #ifndef _defs_LOADED # include...
stardot/ncc
thumb/mcvsn.h
/* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #define MC_VERSION "500"
stardot/ncc
mip/cseeval.c
/* * mip/cseeval.c: CSE compile-time evaluation * Copyright (C) Acorn Computers Ltd., 1988. * Copyright 1991-1997 Advanced Risc Machines Limited. All rights reserved * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 0 * Checkin $Date$ * Revising $Author$ */ #include "globals.h" #include "...
stardot/ncc
thumb/tgen.c
/* C compiler file thumb/gen.c : Copyright (C) Codemist Ltd, 1994. */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* exports: void show_instruction(Icode *ic); RealRegister local_base(Binder *b); int32 local_address(Binder *b); bool immed...
stardot/ncc
tests/mathtest.c
<filename>tests/mathtest.c<gh_stars>0 /* Library routines for testing math functions with odd values */ /* Copyright (C) Advanced RISC Machines, 1997. All Rights Reserved */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdlib.h> #include <errno.h>...
stardot/ncc
arm/target.h
/* * C compiler file arm/target.h, version 13a * Copyright (C) Codemist Ltd., 1988. * Copyright (C) Acorn Computers Ltd., 1988 * Copyright (C) Advanced Risc Machines Ltd., 1991 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _target_LOADED #define...
stardot/ncc
mip/regsets.c
/* * regsets.c - space-efficient set representations, version 1a. * Copyright (C) Acorn Computers Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* Memo: @@@ someone misunderstands either the use of unsigned32 or */ /* the binding power of ...
stardot/ncc
interp/interp.c
/* * interp/interp.c: main C interpreter routines * Copyright (C) Codemist Ltd., 1988-1993 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 188 * Checkin $Date$ * Revising $Author$ */ ...
stardot/ncc
thumb/tasm.c
/* thumb/asm.c: Copyright (C) Codemist Ltd., 1994. */ /* SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* Assembler output is routed to asmstream, annotated if FEATURE_ANNOTATE. */ /* exports: asmstream, display_assembly_cod...
stardot/ncc
cppfe/xbuiltin.c
/* * xbuiltin.c: constants/global symbols for C++ compiler. * Copyright (C) Codemist Ltd., 1988-1993 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$ ...
stardot/ncc
mip/builtin.c
<filename>mip/builtin.c /* * builtin.c: constants/global symbols for C compiler. * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 23 * Check...
stardot/ncc
mip/bind.c
<reponame>stardot/ncc /* * bind.c: various binding and lexing routines for C compiler * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 55 *...
stardot/ncc
tests/llong.c
<reponame>stardot/ncc<filename>tests/llong.c<gh_stars>0 /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1995 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include <stdio.h> #include "testutil...
stardot/ncc
mip/regalloc.h
/* * mip/regalloc.h * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _regalloc_h #define _regalloc_h #ifndef _defs_LOADED # include "defs.h" #endif #ifndef _cgdefs_LO...
stardot/ncc
cppfe/xsem.c
/* * xsem.c: semantic analysis phase of the C++ compiler * Copyright (C) Codemist Ltd, 1988-1992 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-1992, 1994 * SPDX-Licence-Identifier: Apache-2.0 * All rights reserved. */ /* * RCS $Revision$ * Checkin $Date$...
stardot/ncc
cfe/pp.c
<filename>cfe/pp.c /* * C pre-processor, cfe/pp.c * Copyright (C) Codemist Ltd., 1988-1992. * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Ltd., 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 167 * Checkin $Date$ * Revising $Author$ *...
stardot/ncc
mip/driver.c
<reponame>stardot/ncc /* * driver.c - driver for Codemist compiler (RISC OS, DOS, Mac/MPW, Unix) * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd., 1988-1992. * Copyright (C) Advanced RISC Machines Limited, 1990-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Cod...
stardot/ncc
armthumb/inlnasm.h
/* * inlnasm.h: ARM/Thumb inline assembler header * Copyright (C) Advanced Risc Machines Ltd., 1997 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _inlnasm_h #define _inlnasm_h #ifdef TARGET_HAS_INLINE_ASSEMBLER #include "cgdefs.h" #include "jop...
stardot/ncc
mip/cg.h
<reponame>stardot/ncc /* * mip/cg.h * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd., 1987-1992. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef _cg_h #define...
stardot/ncc
tests/2672.c
<reponame>stardot/ncc /* * ARM C compiler regression test $RCSfile$ * Copyright (C) 1997 Advanced Risc Machines Ltd. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #include "testutil.h" __int64 ll_2672; double d_2672; float f_2672; ...
stardot/ncc
mip/cgdefs.h
<filename>mip/cgdefs.h /* * cgdefs.h - structures used by the back-end * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Codemist Ltd., 1987-1992. * Copyright 1991-1997 Advanced Risc Machines Limited. All rights reserved * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 4 * C...
stardot/ncc
mip/sixchar.h
/* * C compiler file sixchar.h, version 3 * Copyright (C) Codemist Ltd., 1989 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* The definitions that follow are to map long and meaningful (?) names */ /* onto ones that are distinct in the first 6 character...
stardot/ncc
armthumb/dwasd.c
/* * C compiler file arm/dwasd.c * Copyright: (C) 1995, Advanced RISC Machines Limited. All rights reserved. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* Runtime switch between ASD and DWARF format debug table generation */ #include <string.h> #in...
stardot/ncc
mip/inline.c
/* * inline.c: inline function expansion * Copyright (C) Advanced Risc Machines Ltd., 1993 * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ /* Nasties to tidy up: ** (1) the use of h0_(Binder) ** (2) lab_xname_()/lab_name_(). Use small ints everywhere for la...
stardot/ncc
mip/compiler.h
<gh_stars>0 /* * C compiler file compiler.h * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-92. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef __compiler_h #define __compiler_h #include "host....
stardot/ncc
cfe/fevsn.h
<filename>cfe/fevsn.h<gh_stars>0 #define FE_VERSION "500"
stardot/ncc
arm/coff.c
/* * C compiler file arm/coff.c * Copyright (C) Codemist Ltd, 1988 * Copyright (C) Advanced Risc Machines Limited, 1993 * 'COFF' (system V unix) output routines * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 13j * Checkin $Date$ * Revising $Author$ */ /* AM: Feb 90: add AUX items for ...
stardot/ncc
cfe/sem.c
/* * sem.c: semantic analysis phase of the C/C++ compiler * Copyright (C) Codemist Ltd, 1988-1992 * Copyright (C) Acorn Computers Ltd., 1988-1990. * Copyright (C) Advanced RISC Machines Limited, 1991-1992. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ Codemist 167 * Checkin $Date$ * Revising $A...
stardot/ncc
arm/uasm.c
/* * arm/uasm.c, version 1b * Copyright (C) Acorn Computers Ltd., 1988. * Copyright (C) Codemist Ltd., 1988. * SPDX-Licence-Identifier: Apache-2.0 */ /* * RCS $Revision$ * Checkin $Date$ * Revising $Author$ */ #ifndef NO_VERSION_STRINGS extern char uasm_version[]; char uasm_version[] = "\narm/uasm.c $Revisi...