Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

Martin / daiteq-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
  • daiteq-demo
  • simple
  • tests
  • int
  • i16_call.c
  • Martin's avatar
    daiteq LLVM demos, Release 4 · 3428f119
    Martin committed Oct 11, 2021
    3428f119 Browse File
i16_call.c 207 Bytes
BlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
////C: '-msoft-fp-half'
////A: '--has-fhalf'

#include <stdint.h>

void func(uint16_t arg)
{
  volatile uint16_t l;
  l = arg;
}

int main(void)
{
  volatile uint16_t a = 0x1234;

  func(a);

  return 0;
}