Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

release / riscv-demo

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • riscv-demo
  • simple
  • tests
  • double
  • double_5fargs-sf.c
  • Martin's avatar
    Release 2022.1 · a22edae1
    Martin committed Sep 07, 2022
    a22edae1 Browse Files
double_5fargs-sf.c 298 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
//C: '-msoft-float'


double dblfcn(double a, double b, double c, double d, double e)
{
  volatile double y = a + b;
  volatile double z = c + d;
  double o = y+z+e;
  return o;
}

int main(void)
{
  volatile double z;
  volatile double a, b, c, d, e;

  z = dblfcn(a, b, c, d, e);

  return 0;
}