home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 15 / AACD15.ISO / AACD / System / MorphOS / Developer / emulexamples / library / skeleton / libfunctions.s < prev    next >
Encoding:
Text File  |  2000-11-02  |  1.5 KB  |  43 lines

  1.     .file    "libfunctions.c"
  2.  
  3.  # rs6000/powerpc options: -mcpu=604 -msdata=data -G 8
  4.  # GNU C version 2.95.3 19991030 (prerelease/franzo) (ppc-amigaos) compiled by GNU C version 2.95.2 19991024 (release).
  5.  # options passed:  -mstrict-align -mno-prototype -mcpu=604 -mregnames -O2
  6.  # -Wformat -Wunused -Wuninitialized -Wconversion -Wstrict-prototypes
  7.  # -Werror-implicit-function-declaration -fomit-frame-pointer -fverbose-asm
  8.  # options enabled:  -fdefer-pop -fomit-frame-pointer -fcse-follow-jumps
  9.  # -fcse-skip-blocks -fexpensive-optimizations -fthread-jumps
  10.  # -fstrength-reduce -fpeephole -fforce-mem -ffunction-cse -finline
  11.  # -fkeep-static-consts -fcaller-saves -fpcc-struct-return -fgcse
  12.  # -frerun-cse-after-loop -frerun-loop-opt -fschedule-insns
  13.  # -fschedule-insns2 -fsched-interblock -fsched-spec -fbranch-count-reg
  14.  # -fcommon -fverbose-asm -fgnu-linker -fregmove -foptimize-register-move
  15.  # -fargument-alias -fident -mpowerpc -mpowerpc-gfxopt -mnew-mnemonics
  16.  # -mstrict-align -mregnames -mcpu=604 -mcall-sysv -msdata=data
  17.  
  18. gcc2_compiled.:
  19.     .section    ".rodata"
  20.     .align 2
  21. .LC0:
  22.     .string    "LIB_Test: <%s>\n"
  23.     .section    ".text"
  24.     .align 2
  25.     .globl LIB_PPCPrintString
  26.     .type     LIB_PPCPrintString,@function
  27. LIB_PPCPrintString:
  28.     stwu %r1,-16(%r1)
  29.     mflr %r0
  30.     stw %r0,20(%r1)
  31.     lis %r3,.LC0@ha
  32.     lwz %r4,32(%r2)
  33.     la %r3,.LC0@l(%r3)
  34.     crxor 6,6,6
  35.     bl dprintf
  36.     lwz %r0,20(%r1)
  37.     mtlr %r0
  38.     la %r1,16(%r1)
  39.     blr
  40. .Lfe1:
  41.     .size     LIB_PPCPrintString,.Lfe1-LIB_PPCPrintString
  42.     .ident    "GCC: (GNU) 2.95.3 19991030 (prerelease/franzo)"
  43.