Changeset 54f440d in rtems
- Timestamp:
- 07/26/99 22:11:02 (24 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- c32555c
- Parents:
- 220ad7d
- Location:
- c/src/lib
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/mvme167/bsp_specs
r220ad7d r54f440d 8 8 %(old_cpp) %{qrtems: -D__embedded__} -Asystem(embedded) 9 9 10 *endfile: 11 crtend.o%s crtn.o%s 12 10 13 *lib: 11 14 %{!qrtems: %(old_lib)} %{qrtems: --start-group \ 12 15 %{!qrtems_debug: -lrtemsall} %{qrtems_debug: -lrtemsall_g} \ 13 16 -lc -lgcc --end-group \ 14 %{!qnolinkcmds: -T linkcmds%s}} 17 %{!qelf: %{!qnolinkcmds: -T linkcmds%s}} %{qelf: %{!qnolinkcmd: -T 18 elflinkcmds%s}}} 15 19 16 20 *startfile: 17 21 %{!qrtems: %(old_startfile)} %{qrtems: \ 18 22 %{!qrtems_debug: start.o%s} \ 19 %{qrtems_debug: start_g.o%s} }23 %{qrtems_debug: start_g.o%s} crti.o%s crtbegin.o%s} 20 24 21 25 *link: -
c/src/lib/libbsp/m68k/mvme167/startup/Makefile.in
r220ad7d r54f440d 24 24 H_FILES = 25 25 26 SRCS = $(srcdir)/linkcmds $( C_FILES) $(H_FILES)26 SRCS = $(srcdir)/linkcmds $(srcdir)/elflinkcmds $(C_FILES) $(H_FILES) 27 27 OBJS = $(C_O_FILES) 28 28 … … 42 42 # 43 43 44 DEFINES += 44 # USE_INIT_FINI tells main.c what C++ help we need. 45 46 DEFINES += -DUSE_INIT_FINI 45 47 CPPFLAGS += 46 48 CFLAGS += … … 65 67 all: ${ARCH} $(SRCS) $(PGM) 66 68 $(INSTALL_CHANGE) $(srcdir)/linkcmds $(PROJECT_RELEASE)/lib 69 $(INSTALL_CHANGE) $(srcdir)/elflinkcmds $(PROJECT_RELEASE)/lib 67 70 68 71 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status -
c/src/lib/libbsp/shared/bootcard.c
r220ad7d r54f440d 28 28 29 29 /* Initialize C++ global Ctor/Dtor and initializes exception handling. */ 30 #if def USE_INIT_FINI30 #if defined(USE_INIT_FINI) 31 31 extern void _fini( void ); 32 32 extern void _init( void ); -
c/src/lib/libcpu/m68k/m68040/fpsp/bindec.S
r220ad7d r54f440d 487 487 fabsx %fp0 //use abs(X) 488 488 tstw %d5 //LAMBDA is in lower word of d5 489 bne ssc_mul //if neg (LAMBDA = 1), scale by mul489 bne sc_mul //if neg (LAMBDA = 1), scale by mul 490 490 fdivx %fp1,%fp0 //calculate X / SCALE -> Y to fp0 491 491 bras A10_st //branch to A10 -
c/src/lib/libcpu/m68k/m68040/fpsp/decbin.S
r220ad7d r54f440d 233 233 m_sign: 234 234 btst #31,(%a0) //test sign of the mantissa 235 beq sap_st_z //if clear, go to append/strip zeros235 beq ap_st_z //if clear, go to append/strip zeros 236 236 fnegx %fp0 //if set, negate fp0 237 237 … … 291 291 ble pwrten //if abs(expA) <28, skip ap/st zeros 292 292 btst #30,(%a0) //check sign of exp 293 bne sap_st_n //if neg, go to neg side293 bne ap_st_n //if neg, go to neg side 294 294 clrl %d1 //zero count reg 295 295 movel (%a0),%d4 //load lword 1 to d4 … … 339 339 bnes ap_p_el //if not, get next bit 340 340 fmulx %fp1,%fp0 //mul mantissa by 10**(no_bits_shifted) 341 bra spwrten //go calc pwrten341 bra pwrten //go calc pwrten 342 342 // 343 343 // This section handles a negative adjusted exponent. -
c/src/lib/libcpu/m68k/m68040/fpsp/do_func.S
r220ad7d r54f440d 80 80 andl #0x7F,%d0 81 81 cmpil #0x38,%d0 //if the extension is >= $38, 82 bge sserror //it is illegal82 bge serror //it is illegal 83 83 bfextu STAG(%a6){#0:#3},%d1 84 84 lsll #3,%d0 //make room for STAG -
c/src/lib/libcpu/m68k/m68040/fpsp/get_op.S
r220ad7d r54f440d 174 174 clrb DY_MO_FLG(%a6) 175 175 tstb UFLG_TMP(%a6) //test flag for unsupp/unimp state 176 beq suni_getop176 beq uni_getop 177 177 178 178 uns_getop: -
c/src/lib/libcpu/m68k/m68040/fpsp/util.S
r220ad7d r54f440d 141 141 ovf_fsgl: 142 142 clrl %d0 143 bra sovf_res143 bra ovf_res 144 144 145 145 ovff_sgl: 146 146 movel #0x00000001,%d0 //set single 147 bra sovf_res147 bra ovf_res 148 148 ovff_dbl: 149 149 movel #0x00000002,%d0 //set double 150 bra sovf_res150 bra ovf_res 151 151 // 152 152 // The precision is in the fpcr. … … 154 154 ovf_fpcr: 155 155 bfextu FPCR_MODE(%a6){#0:#2},%d0 //set round precision 156 bra sovf_res156 bra ovf_res 157 157 158 158 // -
c/src/lib/libcpu/m68k/m68040/fpsp/x_store.S
r220ad7d r54f440d 95 95 beq dest_ext //then branch 96 96 cmpil #1,%d0 //if dest format is single 97 beq sdest_sgl //then branch97 beq dest_sgl //then branch 98 98 // 99 99 // fall through to dest_dbl
Note: See TracChangeset
for help on using the changeset viewer.