file_text string | language string | file_name string |
|---|---|---|
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z)
{
return __sync_add_and_fetch (z, 42);
}
NOMIPS16 short
f2 (short *z)
{
return __sync_add_and_fetch (z, 42);
}
NOMIPS16 char
f3 (char *z)
{
return __sync_add_and_fetch (... | C | fix-r10000-7.c |
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z)
{
return __sync_add_and_fetch (z, 42);
}
NOMIPS16 short
f2 (short *z)
{
return __sync_add_and_fetch (z, 42);
}
NOMIPS16 char
f3 (char *z)
{
return __sync_add_and_fetch (... | C | fix-r10000-7_1.c |
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z, int amt)
{
return __sync_sub_and_fetch (z, amt);
}
NOMIPS16 short
f2 (short *z, short amt)
{
return __sync_sub_and_fetch (z, amt);
}
NOMIPS16 char
f3 (char *z, char amt)
{... | C | fix-r10000-8.c |
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z, int amt)
{
return __sync_sub_and_fetch (z, amt);
}
NOMIPS16 short
f2 (short *z, short amt)
{
return __sync_sub_and_fetch (z, amt);
}
NOMIPS16 char
f3 (char *z, char amt)
{... | C | fix-r10000-8_1.c |
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z)
{
return __sync_or_and_fetch (z, 42);
}
NOMIPS16 short
f2 (short *z)
{
return __sync_or_and_fetch (z, 42);
}
NOMIPS16 char
f3 (char *z)
{
return __sync_or_and_fetch (z, ... | C | fix-r10000-9.c |
/* { dg-do compile } */
/* { dg-options "-mfix-r10000" } */
/* { dg-final { scan-assembler-times "\tbeql\t" 3 } } */
NOMIPS16 int
f1 (int *z)
{
return __sync_or_and_fetch (z, 42);
}
NOMIPS16 short
f2 (short *z)
{
return __sync_or_and_fetch (z, 42);
}
NOMIPS16 char
f3 (char *z)
{
return __sync_or_and_fetch (z, ... | C | fix-r10000-9_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
typedef int int32_t;
typedef int uint32_t;
NOMIPS16 int32_t foo (int32_t x, int32_t y) { return x * y; }
NOMIPS16 uint32_t bar (uint32_t x, uint32_t y) { return x * y; }
... | C | fix-r4000-1.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* { dg-options "-mips3 -mfix-r4000 -mgp64 -EL -fno-split-wide-types -dp" } */
/* { dg-skip-if "naming registers makes this a code q... | C | fix-r4000-10.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* { dg-options "-mips3 -mfix-r4000 -mgp64 -EL -fno-split-wide-types -dp" } */
/* { dg-skip-if "naming registers makes this a code q... | C | fix-r4000-10_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "using DDIV gives a shorter sequence" { *-*-* } { "-Os" } { "" } } */
typedef long long int64_t;
NOMIPS16 int64_t foo (int64_t x) { return x / 1199... | C | fix-r4000-11.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "using DDIV gives a shorter sequence" { *-*-* } { "-Os" } { "" } } */
typedef long long int64_t;
NOMIPS16 int64_t foo (int64_t x) { return x / 1199... | C | fix-r4000-11_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "using DDIVU gives a shorter sequence" { *-*-* } { "-Os" } { "" } } */
typedef unsigned long long uint64_t;
NOMIPS16 uint64_t foo (uint64_t x) { re... | C | fix-r4000-12.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
/* { dg-skip-if "using DDIVU gives a shorter sequence" { *-*-* } { "-Os" } { "" } } */
typedef unsigned long long uint64_t;
NOMIPS16 uint64_t foo (uint64_t x) { re... | C | fix-r4000-12_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
typedef int int32_t;
typedef int uint32_t;
NOMIPS16 int32_t foo (int32_t x, int32_t y) { return x * y; }
NOMIPS16 uint32_t bar (uint32_t x, uint32_t y) { return x * y; }
... | C | fix-r4000-1_1.c |
/* This test requires widening_mul */
/* { dg-options "-mips1 -mfix-r4000 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef int int32_t;
typedef long long int64_t;
NOMIPS16 int32_t foo (int32_t x, int32_t y) { return ((int64_t) x * y) >> 32; }
/* { dg-fi... | C | fix-r4000-2.c |
/* This test requires widening_mul */
/* { dg-options "-mips1 -mfix-r4000 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef int int32_t;
typedef long long int64_t;
NOMIPS16 int32_t foo (int32_t x, int32_t y) { return ((int64_t) x * y) >> 32; }
/* { dg-fi... | C | fix-r4000-2_1.c |
/* { dg-options "-mips1 -mfix-r4000 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
NOMIPS16 uint32_t foo (uint32_t x, uint32_t y) { return ((uint64_t) x * y) >> 32; }
/* { dg-final { scan-ass... | C | fix-r4000-3.c |
/* { dg-options "-mips1 -mfix-r4000 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef unsigned int uint32_t;
typedef unsigned long long uint64_t;
NOMIPS16 uint32_t foo (uint32_t x, uint32_t y) { return ((uint64_t) x * y) >> 32; }
/* { dg-final { scan-ass... | C | fix-r4000-3_1.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* This test requires widening_mul */
/* { dg-options "-mips1 -mfix-r4000 -fno-split-wide-types -dp -EL -fexpensive-optimizations" }... | C | fix-r4000-4.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* This test requires widening_mul */
/* { dg-options "-mips1 -mfix-r4000 -fno-split-wide-types -dp -EL -fexpensive-optimizations" }... | C | fix-r4000-4_1.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* { dg-options "-mips1 -mfix-r4000 -fno-split-wide-types -dp -EL" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { ""... | C | fix-r4000-5.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* { dg-options "-mips1 -mfix-r4000 -fno-split-wide-types -dp -EL" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { ""... | C | fix-r4000-5_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
typedef long long int64_t;
typedef unsigned long long uint64_t;
NOMIPS16 int64_t foo (int64_t x, int64_t y) { return x * y; }
NOMIPS16 uint64_t bar (uint64_t x, ui... | C | fix-r4000-6.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp" } */
/* { dg-skip-if "naming registers makes this a code quality test" { *-*-* } { "-O0" } { "" } } */
typedef long long int64_t;
typedef unsigned long long uint64_t;
NOMIPS16 int64_t foo (int64_t x, int64_t y) { return x * y; }
NOMIPS16 uint64_t bar (uint64_t x, ui... | C | fix-r4000-6_1.c |
/* This test requires widening_mul */
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef long long int64_t;
typedef int int128_t __attribute__((mode(TI)));
NOMIPS16 int64_t foo (int64_t x, int64_t y) { retu... | C | fix-r4000-7.c |
/* This test requires widening_mul */
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef long long int64_t;
typedef int int128_t __attribute__((mode(TI)));
NOMIPS16 int64_t foo (int64_t x, int64_t y) { retu... | C | fix-r4000-7_1.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef unsigned long long uint64_t;
typedef unsigned int uint128_t __attribute__((mode(TI)));
NOMIPS16 uint64_t foo (uint64_t x, uint64_t y) { return ((uint128_t)... | C | fix-r4000-8.c |
/* { dg-options "-march=r4000 -mfix-r4000 -mgp64 -dp -EB -fexpensive-optimizations" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef unsigned long long uint64_t;
typedef unsigned int uint128_t __attribute__((mode(TI)));
NOMIPS16 uint64_t foo (uint64_t x, uint64_t y) { return ((uint128_t)... | C | fix-r4000-8_1.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* This test requires widening_mul */
/* { dg-options "-mips3 -mfix-r4000 -mgp64 -fno-split-wide-types -dp -EL -fexpensive-optimizat... | C | fix-r4000-9.c |
/* ??? At the moment, lower-subreg.c decomposes the copy of the multiplication
result to $2, which prevents the register allocators from storing the
multiplication result in $2. */
/* This test requires widening_mul */
/* { dg-options "-mips3 -mfix-r4000 -mgp64 -fno-split-wide-types -dp -EL -fexpensive-optimizat... | C | fix-r4000-9_1.c |
/* PR target/14201 */
/* Excercise float -> integer in memory patterns. */
/* { dg-add-options ieee } */
void f1 (float v, int *p) { *p = v; }
void f2 (float v, unsigned int*p) { *p = v; }
void f3 (float v, long long *p) { *p = v; }
void f4 (float v, unsigned long long *p) { *p = v; }
void f5 (double v, int ... | C | fix-trunc-mem-1.c |
/* PR target/14201 */
/* Excercise float -> integer in memory patterns. */
/* { dg-add-options ieee } */
void f1 (float v, int *p) { *p = v; }
void f2 (float v, unsigned int*p) { *p = v; }
void f3 (float v, long long *p) { *p = v; }
void f4 (float v, unsigned long long *p) { *p = v; }
void f5 (double v, int ... | C | fix-trunc-mem-1_1.c |
typedef __INT8_TYPE__ int_hr_t;
typedef __UINT8_TYPE__ int_uhr_t;
typedef __INT16_TYPE__ int_hk_t;
typedef __UINT16_TYPE__ int_uhk_t;
typedef __INT16_TYPE__ int_r_t;
typedef __UINT16_TYPE__ int_ur_t;
typedef __INT32_TYPE__ int_k_t;
typedef __UINT32_TYPE__ int_uk_t;
typedef __INT32_TYPE__ int_lr_t;
typedef __UINT... | C | fix-types.h |
typedef __INT8_TYPE__ int_hr_t;
typedef __UINT8_TYPE__ int_uhr_t;
typedef __INT16_TYPE__ int_hk_t;
typedef __UINT16_TYPE__ int_uhk_t;
typedef __INT16_TYPE__ int_r_t;
typedef __UINT16_TYPE__ int_ur_t;
typedef __INT32_TYPE__ int_k_t;
typedef __UINT32_TYPE__ int_uk_t;
typedef __INT32_TYPE__ int_lr_t;
typedef __UINT... | C | fix-types_1.h |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mfix-vr4130" } */
NOMIPS16 unsigned int
foo (unsigned int x, unsigned int y)
{
return x % y;
}
/* { dg-final { scan-assembler "\tmacchi\t" } } */
| C | fix-vr4130-1.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mfix-vr4130" } */
NOMIPS16 unsigned int
foo (unsigned int x, unsigned int y)
{
return x % y;
}
/* { dg-final { scan-assembler "\tmacchi\t" } } */
| C | fix-vr4130-1_1.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mfix-vr4130" } */
NOMIPS16 int foo (void) { int r; asm ("# foo" : "=l" (r)); return r; }
/* { dg-final { scan-assembler "\tmacc\t" } } */
| C | fix-vr4130-2.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mfix-vr4130" } */
NOMIPS16 int foo (void) { int r; asm ("# foo" : "=l" (r)); return r; }
/* { dg-final { scan-assembler "\tmacc\t" } } */
| C | fix-vr4130-2_1.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mgp64 -mfix-vr4130" } */
NOMIPS16 unsigned long long
foo (unsigned long long x, unsigned long long y)
{
return x % y;
}
/* { dg-final { scan-assembler "\tdmacchi\t" } } */
| C | fix-vr4130-3.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mgp64 -mfix-vr4130" } */
NOMIPS16 unsigned long long
foo (unsigned long long x, unsigned long long y)
{
return x % y;
}
/* { dg-final { scan-assembler "\tdmacchi\t" } } */
| C | fix-vr4130-3_1.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mgp64 -mfix-vr4130" } */
NOMIPS16 long long
foo (void)
{
long long r;
asm ("# foo" : "=l" (r));
return r;
}
/* { dg-final { scan-assembler "\tdmacc\t" } } */
| C | fix-vr4130-4.c |
/* { dg-do compile } */
/* { dg-options "-march=vr4130 -mgp64 -mfix-vr4130" } */
NOMIPS16 long long
foo (void)
{
long long r;
asm ("# foo" : "=l" (r));
return r;
}
/* { dg-final { scan-assembler "\tdmacc\t" } } */
| C | fix-vr4130-4_1.c |
/*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2002-2014, Universite catholiqu... | C | fix.h |
/*
* The copyright in this software is being made available under the 2-clauses
* BSD License, included below. This software may be subject to other third
* party and contributor rights, including patent rights, and no such rights
* are granted under this license.
*
* Copyright (c) 2001-2003, David Janssens
* Co... | C | fix_1.h |
// SPDX-License-Identifier: LGPL-2.1-or-later
/*
* fix_coverity.h
* Copyright 2017 Peter Jones <pjones@redhat.com>
*
*/
#ifndef FIX_COVERITY_H
#define FIX_COVERITY_H
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#ifndef __COVERITY_GCC_VERSION_AT_LEAST
#define __COVERITY_GCC_VERSION_AT_LEAST(x, y) 0
#define FAKE... | C | fix_coverity.h |
/*
* fix_coverity.h
* Copyright 2017 Peter Jones <pjones@redhat.com>
*
* Distributed under terms of the GPLv3 license.
*/
#ifndef FIX_COVERITY_H
#define FIX_COVERITY_H
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#ifndef __COVERITY_GCC_VERSION_AT_LEAST
#define __COVERITY_GCC_VERSION_AT_LEAST(x, y) 0
#define F... | C | fix_coverity_1.h |
/* { dg-do compile } */
/* { dg-options "-O2" } */
unsigned long
f7 (double x)
{
return (unsigned) x;
}
unsigned long
f7_2 (float x)
{
return (unsigned) x;
}
/* { dg-final { scan-assembler "fcvtzu\\tw\[0-9\]+, d\[0-9\]+" } } */
/* { dg-final { scan-assembler "fcvtzu\\tw\[0-9\]+, s\[0-9\]+" } } */
| C | fix_extend1.c |
/* { dg-do compile } */
/* { dg-options "-O2" } */
unsigned long
f7 (double x)
{
return (unsigned) x;
}
unsigned long
f7_2 (float x)
{
return (unsigned) x;
}
/* { dg-final { scan-assembler "fcvtzu\\tw\[0-9\]+, d\[0-9\]+" } } */
/* { dg-final { scan-assembler "fcvtzu\\tw\[0-9\]+, s\[0-9\]+" } } */
| C | fix_extend1_1.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020, Google LLC.
*
* Tests for KVM paravirtual feature disablement
*/
#include <asm/kvm_para.h>
#include <linux/kvm_para.h>
#include <linux/stringify.h>
#include <stdint.h>
#include "apic.h"
#include "test_util.h"
#include "kvm_util.h"
#include "processo... | C | fix_hypercall_test.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020, Google LLC.
*
* Tests for KVM paravirtual feature disablement
*/
#include <asm/kvm_para.h>
#include <linux/kvm_para.h>
#include <linux/stringify.h>
#include <stdint.h>
#include "apic.h"
#include "test_util.h"
#include "kvm_util.h"
#include "processo... | C | fix_hypercall_test_1.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2020, Google LLC.
*
* Tests for KVM paravirtual feature disablement
*/
#include <asm/kvm_para.h>
#include <linux/kvm_para.h>
#include <linux/stringify.h>
#include <stdint.h>
#include "kvm_test_harness.h"
#include "apic.h"
#include "test_util.h"
#include "... | C | fix_hypercall_test_2.c |
/*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "reiserfs.h"
#include <linux/buffer_head.h>
/*
* To make any changes in the tree we find a node that contains item
* to be changed/deleted or position in ... | C | fix_node.c |
/*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
/**
** old_item_num
** old_entry_num
** set_entry_sizes
** create_virtual_node
** check_left
** check_right
** directory_part_size
** get_num_ver
** set_parameters
** is_leaf_removable
** are_leaves_removable
** get_empty_nodes
... | C | fix_node_2.c |
/*
* Copyright 2000 by Hans Reiser, licensing governed by reiserfs/README
*/
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/string.h>
#include "reiserfs.h"
#include <linux/buffer_head.h>
/*
* To make any changes in the tree we find a node that contains item
* to be changed/deleted or position in ... | C | fix_node_3.c |
/*
* Copyright 2004 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
#pragma ident "@(#)fix_options.c 1.2 04/09/28 SMI"
/*
* Routine to disable IP-level socket options. This code was taken from 4.4BSD
* rlogind and kernel source, but all mistakes in it are my fault.
*
* A... | C | fix_options.c |
#ifndef FS_FIX_PATH_H
#define FS_FIX_PATH_H
static inline const char *fix_path(const char *path) {
if (path[0] == '\0')
return ".";
if (path[0] == '/')
path++;
return path;
}
#endif
| C | fix_path.h |
/* { dg-do compile } */
/* { dg-options "-O2" } */
float
f1 (float x)
{
int y = x;
return (float) y;
}
double
f2 (double x)
{
long y = x;
return (double) y;
}
/* { dg-final { scan-assembler "fcvtzs\\ts\[0-9\]+, s\[0-9\]+" } } */
/* { dg-final { scan-assembler "scvtf\\ts\[0-9\]+, s\[0-9\]+" } } */
/* { dg-f... | C | fix_trunc1.c |
/* { dg-do compile } */
/* { dg-options "-O2" } */
float
f1 (float x)
{
int y = x;
return (float) y;
}
double
f2 (double x)
{
long y = x;
return (double) y;
}
/* { dg-final { scan-assembler "fcvtzs\\ts\[0-9\]+, s\[0-9\]+" } } */
/* { dg-final { scan-assembler "scvtf\\ts\[0-9\]+, s\[0-9\]+" } } */
/* { dg-f... | C | fix_trunc1_1.c |
/*****************************************************************************
* fix_vfr_pts.c: vfr pts fixing video filter
*****************************************************************************
* Copyright (C) 2010-2012 x264 project
*
* Authors: Steven Walters <kemuri9@gmail.com>
*
* This program is free... | C | fix_vfr_pts.c |
// SPDX-License-Identifier: GPL-2.0
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the build framework.
*
* Original author:
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This code has been borrowed from kbuild's fixdep (scripts/basic/fixdep.c),
* Please check i... | C | fixdep.c |
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the kernel build
* ===========================================================================
*
* Author Kai Germaschewski
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This software may be used and distributed... | C | fixdep_1.c |
// SPDX-License-Identifier: GPL-2.0
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the build framework.
*
* Original author:
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This code has been borrowed from kbuild's fixdep (scripts/basic/fixdep.c),
* Please check i... | C | fixdep_2.c |
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the kernel build
* ===========================================================================
*
* Author Kai Germaschewski
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This software may be used and distributed... | C | fixdep_4.c |
// SPDX-License-Identifier: GPL-2.0
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the build framework.
*
* Original author:
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This code has been borrowed from kbuild's fixdep (scripts/basic/fixdep.c),
* Please check i... | C | fixdep_5.c |
/*
* "Optimize" a list of dependencies as spit out by gcc -MD
* for the kernel build
* ===========================================================================
*
* Author Kai Germaschewski
* Copyright 2002 by Kai Germaschewski <kai.germaschewski@gmx.de>
*
* This software may be used and distributed... | C | fixdep_6.c |
//===-- fixdfdi.c - Implement __fixdfdi -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfdi.c |
/* Software floating-point emulation.
Convert a to 64bit signed integer
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfdi_1.c |
/* Software floating-point emulation.
Convert a to 64bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfdi_2.c |
/* Software floating-point emulation.
Convert a to 64bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfdi_3.c |
//===-- fixdfdi.c - Implement __fixdfdi -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfdi_4.c |
/* Software floating-point emulation.
Convert a to 64bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfdi_5.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfdi
#include "int_lib.h"
#include <stdio.h>
// Returns: convert a to a signed long long, rounding toward zero.
// Assumption: double is a IEEE 64 bit floating point type
// su_int is a 32 bit integral type
// value... | C | fixdfdi_test.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfdi
#include "int_lib.h"
#include <stdio.h>
// Returns: convert a to a signed long long, rounding toward zero.
// Assumption: double is a IEEE 64 bit floating point type
// su_int is a 32 bit integral type
// value... | C | fixdfdi_test_1.c |
//===-- fixdfsi.c - Implement __fixdfsi -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfsi.c |
/* Software floating-point emulation.
Convert a to 32bit signed integer
Copyright (C) 1997-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfsi_1.c |
/* Software floating-point emulation.
Convert a to 32bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfsi_2.c |
/* Software floating-point emulation.
Convert a to 32bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfsi_3.c |
//===-- fixdfsi.c - Implement __fixdfsi -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfsi_4.c |
/* Software floating-point emulation.
Convert a to 32bit signed integer
Copyright (C) 1997-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License ... | C | fixdfsi_5.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfsivfp
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
extern int __fixdfsivfp(double a);
#if defined(__arm__) && defined(__ARM_FP) && (__ARM_FP & 0x8)
int test__fixdfsivfp(double a)
{
int actual = __fixdfsivfp(a);
int expected... | C | fixdfsivfp_test.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfsivfp
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
extern int __fixdfsivfp(double a);
#if defined(__arm__) && defined(__ARM_FP) && (__ARM_FP & 0x8)
int test__fixdfsivfp(double a)
{
int actual = __fixdfsivfp(a);
int expected... | C | fixdfsivfp_test_1.c |
//===-- fixdfti.c - Implement __fixdfti -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfti.c |
/* Software floating-point emulation.
Convert IEEE double to 128bit signed integer
Copyright (C) 2007-2024 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | C | fixdfti_1.c |
/* Software floating-point emulation.
Convert IEEE double to 128bit signed integer
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | C | fixdfti_2.c |
/* Software floating-point emulation.
Convert IEEE double to 128bit signed integer
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | C | fixdfti_3.c |
//===-- fixdfti.c - Implement __fixdfti -----------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===---------------------------... | C | fixdfti_4.c |
/* Software floating-point emulation.
Convert IEEE double to 128bit signed integer
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
... | C | fixdfti_5.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfti
// REQUIRES: int128
#include "int_lib.h"
#include <stdio.h>
#ifdef CRT_HAS_128BIT
// Returns: convert a to a signed long long, rounding toward zero.
// Assumption: double is a IEEE 64 bit floating point type
// su_int is ... | C | fixdfti_test.c |
// RUN: %clang_builtins %s %librt -o %t && %run %t
// REQUIRES: librt_has_fixdfti
// REQUIRES: int128
#include "int_lib.h"
#include <stdio.h>
#ifdef CRT_HAS_128BIT
// Returns: convert a to a signed long long, rounding toward zero.
// Assumption: double is a IEEE 64 bit floating point type
// su_int is ... | C | fixdfti_test_1.c |
/* This is a software fixed-point library.
Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Foundation; either version 3, or (at your op... | C | fixed-bit.c |
/* This is a software fixed-point library.
Copyright (C) 2007-2023 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Foundation; either version 3, or (at your op... | C | fixed-bit.h |
/* This is a software fixed-point library.
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Foundation; either version 3, or (at your op... | C | fixed-bit_1.c |
/* This is a software fixed-point library.
Copyright (C) 2007-2022 Free Software Foundation, Inc.
This file is part of GCC.
GCC 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 Foundation; either version 3, or (at your op... | C | fixed-bit_1.h |
// RUN: %clang_cc1 -Weverything -xc++ -std=c++11 -DCXX11 -verify %s
// RUN: %clang_cc1 -Weverything -xc++ -std=c++03 -DCXX03 -verify %s
// RUN: %clang_cc1 -Weverything -xobjective-c -DOBJC -verify %s
// RUN: %clang_cc1 -Weverything -std=c11 -xc -DC11 -verify %s
// RUN: %clang_cc1 -pedantic -std=c11 -xc -DC11 -verify... | C | fixed-enum.c |
// RUN: %clang_cc1 -Weverything -xc++ -std=c++11 -DCXX11 -verify %s
// RUN: %clang_cc1 -Weverything -xc++ -std=c++03 -DCXX03 -verify %s
// RUN: %clang_cc1 -Weverything -xobjective-c -DOBJC -verify %s
// RUN: %clang_cc1 -Weverything -std=c11 -xc -DC11 -verify %s
// RUN: %clang_cc1 -pedantic -std=c11 -xc -DC11 -verify... | C | fixed-enum_1.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* TI Fixed Factor Clock
*
* Copyright (C) 2013 Texas Instruments, Inc.
*
* Tero Kristo <t-kristo@ti.com>
*/
#include <linux/clk-provider.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/clk/ti.h>
#in... | C | fixed-factor.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* TI Fixed Factor Clock
*
* Copyright (C) 2013 Texas Instruments, Inc.
*
* Tero Kristo <t-kristo@ti.com>
*/
#include <linux/clk-provider.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/clk/ti.h>
#in... | C | fixed-factor_1.c |
// SPDX-License-Identifier: GPL-2.0-only
/*
* TI Fixed Factor Clock
*
* Copyright (C) 2013 Texas Instruments, Inc.
*
* Tero Kristo <t-kristo@ti.com>
*/
#include <linux/clk-provider.h>
#include <linux/slab.h>
#include <linux/err.h>
#include <linux/of.h>
#include <linux/of_address.h>
#include <linux/clk/ti.h>
#in... | C | fixed-factor_2.c |
#define SECRET_SYMBOL 1
| C | fixed-header.h |
#define SECRET_SYMBOL 1
| C | fixed-header_1.h |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.