repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
aixcc-public/challenge-001-exemplar-source
2,873
arch/m68k/kernel/relocate_kernel.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/setup.h> #define MMU_BASE 8 /* MMU flags base in cpu_mmu_flags */ .text ENTRY(relocate_new_kernel) movel %sp@(4),%a0 /* a0 = ptr */ movel %sp@(8),%a1 /* a1 = start */ movel %sp@(...
aixcc-public/challenge-001-exemplar-source
28,388
arch/m68k/fpsp040/setox.S
| | setox.sa 3.1 12/10/90 | | The entry point setox computes the exponential of a value. | setoxd does the same except the input value is a denormalized | number. setoxm1 computes exp(X)-1, and setoxm1d computes | exp(X)-1 for denormalized X. | | INPUT | ----- | Double-extended value in memory location pointed to by ad...
aixcc-public/challenge-001-exemplar-source
12,262
arch/m68k/fpsp040/stwotox.S
| | stwotox.sa 3.1 12/10/90 | | stwotox --- 2**X | stwotoxd --- 2**X for denormalized X | stentox --- 10**X | stentoxd --- 10**X for denormalized X | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The function values are returned in Fp0. | | Accuracy and Monotonicity: ...
aixcc-public/challenge-001-exemplar-source
19,468
arch/m68k/fpsp040/slogn.S
| | slogn.sa 3.1 12/10/90 | | slogn computes the natural logarithm of an | input value. slognd does the same except the input value is a | denormalized number. slognp1 computes log(1+X), and slognp1d | computes log(1+X) for denormalized X. | | Input: Double-extended value in memory location pointed to by address | reg...
aixcc-public/challenge-001-exemplar-source
13,349
arch/m68k/fpsp040/stan.S
| | stan.sa 3.3 7/29/91 | | The entry point stan computes the tangent of | an input argument; | stand does the same except for denormalized input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value tan(X) returned in floating-point register Fp0. | | Accuracy and ...
aixcc-public/challenge-001-exemplar-source
15,728
arch/m68k/fpsp040/decbin.S
| | decbin.sa 3.3 12/19/90 | | Description: Converts normalized packed bcd value pointed to by | register A6 to extended-precision value in FP0. | | Input: Normalized packed bcd value in ETEMP(a6). | | Output: Exact floating-point representation of the packed bcd value. | | Saves and Modifies: D2-D5 | | Speed: The prog...
aixcc-public/challenge-001-exemplar-source
1,974
arch/m68k/fpsp040/sto_res.S
| | sto_res.sa 3.1 12/10/90 | | Takes the result and puts it in where the user expects it. | Library functions return result in fp0. If fp0 is not the | users destination register then fp0 is moved to the | correct floating-point destination register. fp0 and fp1 | are then restored to the original contents. | | Input...
aixcc-public/challenge-001-exemplar-source
13,176
arch/m68k/fpsp040/gen_except.S
| | gen_except.sa 3.7 1/16/92 | | gen_except --- FPSP routine to detect reportable exceptions | | This routine compares the exception enable byte of the | user_fpcr on the stack with the exception status byte | of the user_fpsr. | | Any routine which may report an exceptions must load | the stack frame in memory with t...
aixcc-public/challenge-001-exemplar-source
2,014
arch/m68k/fpsp040/x_unimp.S
| | x_unimp.sa 3.3 7/1/91 | | fpsp_unimp --- FPSP handler for unimplemented instruction | exception. | | Invoked when the user program encounters a floating-point | op-code that hardware does not support. Trap vector# 11 | (See table 8-1 MC68030 User's Manual). | | | Note: An fsave for an unimplemented inst. will crea...
aixcc-public/challenge-001-exemplar-source
4,302
arch/m68k/fpsp040/binstr.S
| | binstr.sa 3.3 12/19/90 | | | Description: Converts a 64-bit binary integer to bcd. | | Input: 64-bit binary integer in d2:d3, desired length (LEN) in | d0, and a pointer to start in memory for bcd characters | in d0. (This pointer must point to byte 4 of the first | lword of the packed d...
aixcc-public/challenge-001-exemplar-source
16,764
arch/m68k/fpsp040/round.S
| | round.sa 3.4 7/29/91 | | handle rounding and normalization tasks | | | | Copyright (C) Motorola, Inc. 1990 | All Rights Reserved | | For details on the license for this file, please see the | file, README, in this same directory. |ROUND idnt 2,1 | Motorola 040 Floating Point Software Package |s...
aixcc-public/challenge-001-exemplar-source
13,813
arch/m68k/fpsp040/do_func.S
| | do_func.sa 3.4 2/18/91 | | Do_func performs the unimplemented operation. The operation | to be performed is determined from the lower 7 bits of the | extension word (except in the case of fmovecr and fsincos). | The opcode and tag bits form an index into a jump table in | tbldo.sa. Cases of zero, infinity and NaN...
aixcc-public/challenge-001-exemplar-source
6,621
arch/m68k/fpsp040/x_snan.S
| | x_snan.sa 3.3 7/1/91 | | fpsp_snan --- FPSP handler for signalling NAN exception | | SNAN for float -> integer conversions (integer conversion of | an SNAN) is a non-maskable run-time exception. | | For trap disabled the 040 does the following: | If the dest data format is s, d, or x, then the SNAN bit in the NAN |...
aixcc-public/challenge-001-exemplar-source
13,311
arch/m68k/fpsp040/kernel_ex.S
| | kernel_ex.sa 3.3 12/19/90 | | This file contains routines to force exception status in the | fpu for exceptional cases detected or reported within the | transcendental functions. Typically, the t_xx routine will | set the appropriate bits in the USER_FPSR word on the stack. | The bits are tested in gen_except.sa t...
aixcc-public/challenge-001-exemplar-source
8,926
arch/m68k/fpsp040/scale.S
| | scale.sa 3.3 7/30/91 | | The entry point sSCALE computes the destination operand | scaled by the source operand. If the absolute value of | the source operand is (>= 2^14) an overflow or underflow | is returned. | | The entry point sscale is called from do_func to emulate | the fscale unimplemented instruction. | ...
aixcc-public/challenge-001-exemplar-source
9,807
arch/m68k/fpsp040/x_operr.S
| | x_operr.sa 3.5 7/1/91 | | fpsp_operr --- FPSP handler for operand error exception | | See 68040 User's Manual pp. 9-44f | | Note 1: For trap disabled 040 does the following: | If the dest is a fp reg, then an extended precision non_signaling | NAN is stored in the dest reg. If the dest format is b, w, or l and | t...
aixcc-public/challenge-001-exemplar-source
2,348
arch/m68k/fpsp040/sasin.S
| | sasin.sa 3.3 12/19/90 | | Description: The entry point sAsin computes the inverse sine of | an input argument; sAsind does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arcsin(X) returned in floating-point regi...
aixcc-public/challenge-001-exemplar-source
19,058
arch/m68k/fpsp040/ssin.S
| | ssin.sa 3.3 7/29/91 | | The entry point sSIN computes the sine of an input argument | sCOS computes the cosine, and sSINCOS computes both. The | corresponding entry points with a "d" computes the same | corresponding function values for denormalized inputs. | | Input: Double-extended number X in location pointed to...
aixcc-public/challenge-001-exemplar-source
4,743
arch/m68k/fpsp040/x_ovfl.S
| | x_ovfl.sa 3.5 7/1/91 | | fpsp_ovfl --- FPSP handler for overflow exception | | Overflow occurs when a floating-point intermediate result is | too large to be represented in a floating-point data register, | or when storing to memory, the contents of a floating-point | data register are too large to be represented i...
aixcc-public/challenge-001-exemplar-source
28,114
arch/m68k/fpsp040/bindec.S
| | bindec.sa 3.4 1/3/91 | | bindec | | Description: | Converts an input in extended precision format | to bcd format. | | Input: | a0 points to the input extended precision value | value in memory; d0 contains the k-factor sign-extended | to 32-bits. The input may be either normalized, | unnormalized, or denorm...
aixcc-public/challenge-001-exemplar-source
2,932
arch/m68k/fpsp040/x_fline.S
| | x_fline.sa 3.3 1/10/91 | | fpsp_fline --- FPSP handler for fline exception | | First determine if the exception is one of the unimplemented | floating point instructions. If so, let fpsp_unimp handle it. | Next, determine if the instruction is an fmovecr with a non-zero | <ea> field. If so, handle here and return...
aixcc-public/challenge-001-exemplar-source
14,062
arch/m68k/fpsp040/bugfix.S
| | bugfix.sa 3.2 1/31/91 | | | This file contains workarounds for bugs in the 040 | relating to the Floating-Point Software Package (FPSP) | | Fixes for bugs: 1238 | | Bug: 1238 | | | /* The following dirty_bit clear should be left in | * the handler permanently to improve throughput. | * The dirty_bits are...
aixcc-public/challenge-001-exemplar-source
15,961
arch/m68k/fpsp040/satan.S
| | satan.sa 3.3 12/19/90 | | The entry point satan computes the arctangent of an | input value. satand does the same except the input value is a | denormalized number. | | Input: Double-extended value in memory location pointed to by address | register a0. | | Output: Arctan(X) returned in floating-point register Fp0...
aixcc-public/challenge-001-exemplar-source
5,198
arch/m68k/fpsp040/slog2.S
| | slog2.sa 3.1 12/10/90 | | The entry point slog10 computes the base-10 | logarithm of an input argument X. | slog10d does the same except the input value is a | denormalized number. | sLog2 and sLog2d are the base-2 analogues. | | INPUT: Double-extended value in memory location pointed to | by address r...
aixcc-public/challenge-001-exemplar-source
4,288
arch/m68k/fpsp040/smovecr.S
| | smovecr.sa 3.1 12/10/90 | | The entry point sMOVECR returns the constant at the | offset given in the instruction field. | | Input: An offset in the instruction word. | | Output: The constant rounded to the user's rounding | mode unchecked for overflow. | | Modified: fp0. | | | Copyright (C) Motorola, Inc. 1990 |...
aixcc-public/challenge-001-exemplar-source
17,089
arch/m68k/fpsp040/util.S
| | util.sa 3.7 7/29/91 | | This file contains routines used by other programs. | | ovf_res: used by overflow to force the correct | result. ovf_r_k, ovf_r_x2, ovf_r_x3 are | derivatives of this routine. | get_fline: get user's opcode word | g_dfmtou: returns the destination format. | g_opcls: returns the opclass o...
aixcc-public/challenge-001-exemplar-source
3,666
arch/m68k/fpsp040/sgetem.S
| | sgetem.sa 3.1 12/10/90 | | The entry point sGETEXP returns the exponent portion | of the input argument. The exponent bias is removed | and the exponent value is returned as an extended | precision number in fp0. sGETEXPD handles denormalized | numbers. | | The entry point sGETMAN extracts the mantissa of the | i...
aixcc-public/challenge-001-exemplar-source
19,240
arch/m68k/fpsp040/tbldo.S
| | tbldo.sa 3.1 12/10/90 | | Modified: | 8/16/90 chinds The table was constructed to use only one level | of indirection in do_func for monadic | functions. Dyadic functions require two | levels, and the tables are still contained | in do_func. The table is arranged for | index with a 10-bit index, with th...
aixcc-public/challenge-001-exemplar-source
2,995
arch/m68k/fpsp040/scosh.S
| | scosh.sa 3.1 12/10/90 | | The entry point sCosh computes the hyperbolic cosine of | an input argument; sCoshd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value cosh(X) returned in floating-point register Fp0. | ...
aixcc-public/challenge-001-exemplar-source
4,074
arch/m68k/fpsp040/stanh.S
| | stanh.sa 3.1 12/10/90 | | The entry point sTanh computes the hyperbolic tangent of | an input argument; sTanhd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value tanh(X) returned in floating-point register Fp0. |...
aixcc-public/challenge-001-exemplar-source
2,235
arch/m68k/fpsp040/satanh.S
| | satanh.sa 3.3 12/19/90 | | The entry point satanh computes the inverse | hyperbolic tangent of | an input argument; satanhd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arctanh(X) returned in floating-point...
aixcc-public/challenge-001-exemplar-source
2,827
arch/m68k/fpsp040/sacos.S
| | sacos.sa 3.3 12/19/90 | | Description: The entry point sAcos computes the inverse cosine of | an input argument; sAcosd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arccos(X) returned in floating-point re...
aixcc-public/challenge-001-exemplar-source
6,983
arch/m68k/fpsp040/x_store.S
| | x_store.sa 3.2 1/24/91 | | store --- store operand to memory or register | | Used by underflow and overflow handlers. | | a6 = points to fp value to be stored. | | Copyright (C) Motorola, Inc. 1990 | All Rights Reserved | | For details on the license for this file, please see the | file, README, in ...
aixcc-public/challenge-001-exemplar-source
53,177
arch/m68k/fpsp040/res_func.S
| | res_func.sa 3.9 7/29/91 | | Normalizes denormalized numbers if necessary and updates the | stack frame. The function is then restored back into the | machine and the 040 completes the operation. This routine | is only used by the unsupported data type/format handler. | (Exception vector 55). | | For packed move o...
aixcc-public/challenge-001-exemplar-source
20,372
arch/m68k/fpsp040/get_op.S
| | get_op.sa 3.6 5/19/92 | | get_op.sa 3.5 4/26/91 | | Description: This routine is called by the unsupported format/data | type exception handler ('unsupp' - vector 55) and the unimplemented | instruction exception handler ('unimp' - vector 11). 'get_op' | determines the opclass (0, 2, or 3) and branches to the | o...
aixcc-public/challenge-001-exemplar-source
5,696
arch/m68k/fpsp040/sint.S
| | sint.sa 3.1 12/10/90 | | The entry point sINT computes the rounded integer | equivalent of the input argument, sINTRZ computes | the integer rounded to zero of the input argument. | | Entry points sint and sintrz are called from do_func | to emulate the fint and fintrz unimplemented instructions, | respectively. E...
aixcc-public/challenge-001-exemplar-source
3,410
arch/m68k/fpsp040/ssinh.S
| | ssinh.sa 3.1 12/10/90 | | The entry point sSinh computes the hyperbolic sine of | an input argument; sSinhd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value sinh(X) returned in flo...
aixcc-public/challenge-001-exemplar-source
11,802
arch/m68k/fpsp040/skeleton.S
| | skeleton.sa 3.2 4/26/91 | | This file contains code that is system dependent and will | need to be modified to install the FPSP. | | Each entry point for exception 'xxxx' begins with a 'jmp fpsp_xxxx'. | Put any target system specific handling that must be done immediately | before the jump instruction. If there n...
aixcc-public/challenge-001-exemplar-source
12,287
arch/m68k/fpsp040/srem_mod.S
| | srem_mod.sa 3.1 12/10/90 | | The entry point sMOD computes the floating point MOD of the | input values X and Y. The entry point sREM computes the floating | point (IEEE) REM of the input values X and Y. | | INPUT | ----- | Double-extended value Y is pointed to by address in register |...
aixcc-public/challenge-001-exemplar-source
2,257
arch/m68k/fpsp040/x_unsupp.S
| | x_unsupp.sa 3.3 7/1/91 | | fpsp_unsupp --- FPSP handler for unsupported data type exception | | Trap vector #55 (See table 8-1 Mc68030 User's manual). | Invoked when the user program encounters a data format (packed) that | hardware does not support or a data type (denormalized numbers or un- | normalized numbers)....
aixcc-public/challenge-001-exemplar-source
6,961
arch/m68k/fpsp040/x_unfl.S
| | x_unfl.sa 3.4 7/1/91 | | fpsp_unfl --- FPSP handler for underflow exception | | Trap disabled results | For 881/2 compatibility, sw must denormalize the intermediate | result, then store the result. Denormalization is accomplished | by taking the intermediate result (which is always normalized) and | shifting the ...
aixcc-public/challenge-001-exemplar-source
10,535
arch/m68k/ifpsp060/os.S
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP |M68000 Hi-Performance Microprocessor Division |M68060 Software Package |Production Release P1.00 -- October 10, 1994 | |M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. | |...
aixcc-public/challenge-001-exemplar-source
9,892
arch/m68k/ifpsp060/iskeleton.S
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP |M68000 Hi-Performance Microprocessor Division |M68060 Software Package |Production Release P1.00 -- October 10, 1994 | |M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. | |...
aixcc-public/challenge-001-exemplar-source
10,690
arch/m68k/ifpsp060/fskeleton.S
|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP |M68000 Hi-Performance Microprocessor Division |M68060 Software Package |Production Release P1.00 -- October 10, 1994 | |M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. | |...
aixcc-public/challenge-001-exemplar-source
36,342
arch/m68k/math-emu/fp_util.S
/* * fp_util.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the ...
aixcc-public/challenge-001-exemplar-source
5,656
arch/m68k/math-emu/fp_cond.S
/* * fp_cond.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the ...
aixcc-public/challenge-001-exemplar-source
6,805
arch/m68k/math-emu/fp_entry.S
/* * fp_emu.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the e...
aixcc-public/challenge-001-exemplar-source
5,643
arch/m68k/math-emu/fp_move.S
/* * fp_move.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the ...
aixcc-public/challenge-001-exemplar-source
8,176
arch/m68k/math-emu/fp_movem.S
/* * fp_movem.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the...
aixcc-public/challenge-001-exemplar-source
11,682
arch/m68k/math-emu/fp_scan.S
/* * fp_scan.S * * Copyright Roman Zippel, 1997. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, and the ...
aixcc-public/challenge-001-exemplar-source
8,421
arch/m68k/68000/head.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * head.S - Common startup code for 68000 core based CPU's * * 2012.10.21, Luis Alves <ljalvs@gmail.com>, Single head.S file for all * 68000 core based CPU's. Based on the sources from: * Coldfire by Greg Ungerer <gerg@snapgear.com> * 68...
aixcc-public/challenge-001-exemplar-source
5,701
arch/m68k/68000/entry.S
/* * entry.S -- non-mmu 68000 interrupt and exception entry points * * Copyright (C) 1991, 1992 Linus Torvalds * * This file is subject to the terms and conditions of the GNU General Public * License. See the file README.legal in the main directory of this archive * for more details. * * Linux/m68k support...
aixcc-public/challenge-001-exemplar-source
3,254
arch/m68k/lib/umodsi3.S
/* libgcc1 routines for 68000 w/o floating-point hardware. Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
aixcc-public/challenge-001-exemplar-source
4,971
arch/m68k/lib/udivsi3.S
/* libgcc1 routines for 68000 w/o floating-point hardware. Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
aixcc-public/challenge-001-exemplar-source
3,419
arch/m68k/lib/divsi3.S
/* libgcc1 routines for 68000 w/o floating-point hardware. Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
aixcc-public/challenge-001-exemplar-source
3,253
arch/m68k/lib/modsi3.S
/* libgcc1 routines for 68000 w/o floating-point hardware. Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
aixcc-public/challenge-001-exemplar-source
3,122
arch/m68k/lib/mulsi3.S
/* libgcc1 routines for 68000 w/o floating-point hardware. Copyright (C) 1994, 1996, 1997, 1998 Free Software Foundation, Inc. This file is part of GNU CC. GNU CC is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundatio...
aixcc-public/challenge-001-exemplar-source
12,033
arch/m68k/mac/mac_penguin.S
/* SPDX-License-Identifier: GPL-2.0 */ .byte \ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0xFF,0xFF,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,\ 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x0F,0xFF,0xFF,0xFF,0xFF,0xF0,0x00,0x00,0x00,0...
aixcc-public/challenge-001-exemplar-source
30,683
arch/m68k/ifpsp060/src/ilsp.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
293,708
arch/m68k/ifpsp060/src/fplsp.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
462,529
arch/m68k/ifpsp060/src/pfpsp.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
761,576
arch/m68k/ifpsp060/src/fpsp.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
29,213
arch/m68k/ifpsp060/src/ftest.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
126,514
arch/m68k/ifpsp060/src/isp.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
105,822
arch/m68k/ifpsp060/src/itest.S
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MOTOROLA MICROPROCESSOR & MEMORY TECHNOLOGY GROUP M68000 Hi-Performance Microprocessor Division M68060 Software Package Production Release P1.00 -- October 10, 1994 M68060 Software Package Copyright © 1993, 1994 Motorola Inc. All rights reserved. THE SOFTW...
aixcc-public/challenge-001-exemplar-source
5,393
arch/um/kernel/dyn.lds.S
#include <asm/vmlinux.lds.h> #include <asm/page.h> OUTPUT_FORMAT(ELF_FORMAT) OUTPUT_ARCH(ELF_ARCH) ENTRY(_start) jiffies = jiffies_64; VERSION { { local: *; }; } SECTIONS { PROVIDE (__executable_start = START); . = START + SIZEOF_HEADERS; .interp : { *(.interp) } __binary_start = .; . = ALI...
aixcc-public/challenge-001-exemplar-source
2,607
arch/um/kernel/uml.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/vmlinux.lds.h> #include <asm/page.h> OUTPUT_FORMAT(ELF_FORMAT) OUTPUT_ARCH(ELF_ARCH) ENTRY(_start) jiffies = jiffies_64; VERSION { { local: *; }; } SECTIONS { /* This must contain the right address - not quite the default ELF one.*/ PROVIDE (__executab...
aixcc-public/challenge-001-exemplar-source
1,713
arch/um/include/asm/common.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm-generic/vmlinux.lds.h> .fini : { *(.fini) } =0x9090 _etext = .; PROVIDE (etext = .); . = ALIGN(4096); _sdata = .; PROVIDE (sdata = .); RO_DATA(4096) .unprotected : { *(.unprotected) } . = ALIGN(4096); PROVIDE (_unprotected_end = .); ...
aixcc-public/challenge-001-exemplar-source
1,478
arch/loongarch/vdso/vdso.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Author: Huacai Chen <chenhuacai@loongson.cn> * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ OUTPUT_FORMAT("elf64-loongarch", "elf64-loongarch", "elf64-loongarch") OUTPUT_ARCH(loongarch) SECTIONS { PROVIDE(_start = .); . = SIZEOF_HEADERS; .hash ...
aixcc-public/challenge-001-exemplar-source
3,050
arch/loongarch/kernel/head.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ #include <linux/init.h> #include <linux/threads.h> #include <asm/addrspace.h> #include <asm/asm.h> #include <asm/asmmacro.h> #include <asm/bug.h> #include <asm/regdef.h> #include <asm/loongarch.h> #include ...
aixcc-public/challenge-001-exemplar-source
3,483
arch/loongarch/kernel/efi-header.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ #include <linux/pe.h> #include <linux/sizes.h> .macro __EFI_PE_HEADER .long PE_MAGIC .Lcoff_header: .short IMAGE_FILE_MACHINE_LOONGARCH64 /* Machine */ .short .Lsection_count /* NumberOfSections */...
aixcc-public/challenge-001-exemplar-source
1,870
arch/loongarch/kernel/entry.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited * * Derived from MIPS: * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2001 MIPS Technologies, Inc. */ #include <asm/asm.h> #include ...
aixcc-public/challenge-001-exemplar-source
2,443
arch/loongarch/kernel/relocate_kernel.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * relocate_kernel.S for kexec * * Copyright (C) 2022 Loongson Technology Corporation Limited */ #include <linux/kexec.h> #include <asm/asm.h> #include <asm/asmmacro.h> #include <asm/regdef.h> #include <asm/loongarch.h> #include <asm/stackframe.h> #include <asm/addrspace.h...
aixcc-public/challenge-001-exemplar-source
6,717
arch/loongarch/kernel/fpu.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Author: Lu Zeng <zenglu@loongson.cn> * Pei Huang <huangpei@loongson.cn> * Huacai Chen <chenhuacai@loongson.cn> * * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ #include <asm/asm.h> #include <asm/asmmacro.h> #include <asm/asm-offsets...
aixcc-public/challenge-001-exemplar-source
2,137
arch/loongarch/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/sizes.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> #define PAGE_SIZE _PAGE_SIZE /* * Put .bss..swapper_pg_dir as the first thing in .bss. This will * ensure that it has .bss alignment (64K). */ #define BSS_FIRST_SECTIONS *(.bss..swapper_pg_dir)...
aixcc-public/challenge-001-exemplar-source
2,031
arch/loongarch/kernel/genex.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited * * Derived from MIPS: * Copyright (C) 1994 - 2000, 2001, 2003 Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2002, 2007 Maciej W. Rozycki * Copyright (C) 2001, 2012 MIPS T...
aixcc-public/challenge-001-exemplar-source
1,492
arch/loongarch/mm/page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ #include <linux/linkage.h> #include <asm/asm.h> #include <asm/export.h> #include <asm/page.h> #include <asm/regdef.h> .align 5 SYM_FUNC_START(clear_page) lu12i.w t0, 1 << (PAGE_SHIFT - 12) add.d t0, t0, ...
aixcc-public/challenge-001-exemplar-source
12,308
arch/loongarch/mm/tlbex.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2020-2022 Loongson Technology Corporation Limited */ #include <asm/asm.h> #include <asm/export.h> #include <asm/loongarch.h> #include <asm/page.h> #include <asm/pgtable.h> #include <asm/regdef.h> #include <asm/stackframe.h> #define INVTLB_ADDR_GFALSE_AND_ASID...
aixcc-public/challenge-001-exemplar-source
10,827
arch/microblaze/kernel/head.S
/* * Copyright (C) 2007-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2007-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * MMU code derived from arch/ppc/kernel/head_4xx.S: * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org> * Initial PowerPC version. * Copyright (c) 1996 Cort...
aixcc-public/challenge-001-exemplar-source
35,038
arch/microblaze/kernel/entry.S
/* * Low-level system-call handling, trap handlers and context-switching * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2003 John Williams <jwilliams@itee.uq.edu.au> * Copyright (C) 2001,2002 NEC Corporation * Copyright (C) 2001,2002 Miles Bader <...
aixcc-public/challenge-001-exemplar-source
31,493
arch/microblaze/kernel/hw_exception_handler.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Exception handling for Microblaze * * Rewriten interrupt handling * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * * uClinux customisation (C) 2005 John Williams * * MMU code derived from arch/ppc/kernel/head_4xx...
aixcc-public/challenge-001-exemplar-source
1,389
arch/microblaze/kernel/misc.S
/* * Miscellaneous low-level MMU functions. * * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2007 Xilinx, Inc. All rights reserved. * * Derived from arch/ppc/kernel/misc.S * * This file is subject to the terms and conditions of the GNU General * ...
aixcc-public/challenge-001-exemplar-source
4,066
arch/microblaze/kernel/mcount.S
/* * Low-level ftrace handling * * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for more details. */ #include <linux/linka...
aixcc-public/challenge-001-exemplar-source
2,851
arch/microblaze/kernel/vmlinux.lds.S
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2006 Atmark Techno, Inc. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ ...
aixcc-public/challenge-001-exemplar-source
2,013
arch/microblaze/lib/umodsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Unsigned modulo operation for 32 bit integers. * Input : op1 in Reg r5 * op2 in Reg r6 * Output: op1 mod op2 in Reg r3 */ .text .globl __umodsi3 .type __umodsi3, @function .ent __umodsi3 __umodsi3: .frame r1, 0, r15 addik r1, r1, -12...
aixcc-public/challenge-001-exemplar-source
1,958
arch/microblaze/lib/udivsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Unsigned divide operation. * Input : Divisor in Reg r5 * Dividend in Reg r6 * Output: Result in Reg r3 */ .text .globl __udivsi3 .type __udivsi3, @function .ent __udivsi3 __udivsi3: .frame r1, 0, r15 addik r1, r1, -12 swi r29, r1, 0 sw...
aixcc-public/challenge-001-exemplar-source
1,789
arch/microblaze/lib/divsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * Divide operation for 32 bit integers. * Input : Dividend in Reg r5 * Divisor in Reg r6 * Output: Result in Reg r3 */ .text .globl __divsi3 .type __divsi3, @function .ent __divsi3 __divsi3: .frame r1, 0, r15 addik r1, r1, -16 swi r28, r1, 0...
aixcc-public/challenge-001-exemplar-source
20,680
arch/microblaze/lib/fastcopy.S
/* * Copyright (C) 2008-2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2008-2009 PetaLogix * Copyright (C) 2008 Jim Law - Iris LP All rights reserved. * * This file is subject to the terms and conditions of the GNU General * Public License. See the file COPYING in the main directory of this * archive for...
aixcc-public/challenge-001-exemplar-source
3,868
arch/microblaze/lib/uaccess_old.S
/* * Copyright (C) 2009 Michal Simek <monstr@monstr.eu> * Copyright (C) 2009 PetaLogix * Copyright (C) 2007 LynuxWorks, Inc. * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. */ #include <l...
aixcc-public/challenge-001-exemplar-source
1,798
arch/microblaze/lib/modsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* * modulo operation for 32 bit integers. * Input : op1 in Reg r5 * op2 in Reg r6 * Output: op1 mod op2 in Reg r3 */ .text .globl __modsi3 .type __modsi3, @function .ent __modsi3 __modsi3: .frame r1, 0, r15 addik r1, r1, -16 swi r28, r1, 0 ...
aixcc-public/challenge-001-exemplar-source
5,545
arch/hexagon/kernel/head.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Early kernel startup code for Hexagon * * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/asm-offsets.h> #include <asm/mem-layout.h> #include <asm/vm_mmu.h> #include <asm/page.h>...
aixcc-public/challenge-001-exemplar-source
10,198
arch/hexagon/kernel/vm_entry.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Event entry/exit for Hexagon * * Copyright (c) 2010-2013, The Linux Foundation. All rights reserved. */ #include <asm/asm-offsets.h> /* assembly-safer versions of C defines */ #include <asm/mem-layout.h> /* sigh, except for page_offset */ #include <asm/hexagon...
aixcc-public/challenge-001-exemplar-source
12,163
arch/hexagon/kernel/vm_init_segtable.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Initial page table for Linux kernel under Hexagon VM, * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ /* * These tables are pre-computed and linked into kernel. */ #include <asm/vm_mmu.h> /* #include <asm/iomap.h> */ /* * Start with...
aixcc-public/challenge-001-exemplar-source
1,647
arch/hexagon/kernel/vm_ops.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Hexagon VM instruction support * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ #include <linux/linkage.h> #include <asm/hexagon_vm.h> /* * C wrappers for virtual machine "instructions". These * could be, and perhaps some day will be, h...
aixcc-public/challenge-001-exemplar-source
1,304
arch/hexagon/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Linker script for Hexagon kernel * * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #include <asm-generic/vmlinux.lds.h> #include <asm/asm-offsets.h> /* Most of the kernel defines are here */ #include <asm/mem-layout.h> /* except for page_...
aixcc-public/challenge-001-exemplar-source
2,389
arch/hexagon/kernel/vm_switch.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Context switch support for Hexagon * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ #include <asm/asm-offsets.h> .text /* * The register used as a fast-path thread information pointer * is determined as a kernel configuration option. I...
aixcc-public/challenge-001-exemplar-source
15,374
arch/hexagon/lib/memcpy.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ /* * Description * * library function for memcpy where length bytes are copied from * ptr_in to ptr_out. ptr_out is returned unchanged. * Allows any combination of alignment on input and...
aixcc-public/challenge-001-exemplar-source
1,671
arch/hexagon/lib/divsi3.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021, The Linux Foundation. All rights reserved. */ #include <linux/linkage.h> SYM_FUNC_START(__hexagon_divsi3) { p0 = cmp.gt(r0,#-1) p1 = cmp.gt(r1,#-1) r3:2 = vabsw(r1:0) } { ...
aixcc-public/challenge-001-exemplar-source
1,586
arch/hexagon/lib/memcpy_likely_aligned.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021, The Linux Foundation. All rights reserved. */ #include <linux/linkage.h> SYM_FUNC_START(__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes) { p0 = bitsclr(r1,#7) p0 = bitsclr(r0,#7) if (p0...
aixcc-public/challenge-001-exemplar-source
4,659
arch/hexagon/lib/memset.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011, The Linux Foundation. All rights reserved. */ /* HEXAGON assembly optimized memset */ /* Replaces the standard library function memset */ .macro HEXAGON_OPT_FUNC_BEGIN name .text .p2align 4 .globl \name .type \name, @function \name:...