old-cross-binutils/gas/testsuite/gas/bfin/bit.d
Bernd Schmidt 086134ec0e gas/testsuite/:
From Robin Getz  <rgetz@blackfin.uclinux.org>
	* gas/bfin/arithmetic.d: Update to reflect spaces/capitalization in
	recent changes in opcodes/bfin-dis.c.
	gas/bfin/arithmetic.s: Likewise.
	gas/bfin/bit.d: Likewise.
	gas/bfin/bit2.d: Likewise.
	gas/bfin/control_code.d: Likewise.
	gas/bfin/control_code2.d: Likewise.
	gas/bfin/event.d: Likewise.
	gas/bfin/event2.d: Likewise.
	gas/bfin/flow.d: Likewise.
	gas/bfin/flow2.d: Likewise.
	gas/bfin/load.d: Likewise.
	gas/bfin/logical.d: Likewise.
	gas/bfin/logical2.d: Likewise.
	gas/bfin/move.d: Likewise.
	gas/bfin/move2.d: Likewise.
	gas/bfin/parallel.d: Likewise.
	gas/bfin/parallel2.d: Likewise.
	gas/bfin/parallel3.d: Likewise.
	gas/bfin/parallel4.d: Likewise.
	gas/bfin/shift.d: Likewise.
	gas/bfin/shift2.d: Likewise.
	gas/bfin/stack.d: Likewise.
	gas/bfin/stack2.d: Likewise.
	gas/bfin/store.d: Likewise.
	gas/bfin/vector.d: Likewise.
	gas/bfin/vector2.d: Likewise.
	gas/bfin/video.d: Likewise.
	gas/bfin/video2.d: Likewise.

opcodes/:
	* bfin-dis.c: (c_uimm4s4d, c_imm5d, c_imm7d, c_imm16d, c_uimm16s4d,
	c_imm32, c_huimm32e): Define.
	(constant_formats): Add flags for printing decimal, leading spaces, and
	exact symbols.
	(comment, parallel): Add global flags in all disassembly.
	(fmtconst): Take advantage of new flags, and print default in hex.
	(fmtconst_val): Likewise.
	(decode_macfunc): Be consistant with spaces, tabs, comments,
	capitalization in disassembly, fix minor coding style issues.
	(reg_names, amod0, amod1, amod0amod2, aligndir, get_allreg): Likewise.
	(decode_ProgCtrl_0, decode_PushPopMultiple_0, decode_CCflag_0,
	decode_CC2dreg_0, decode_CC2stat_0, decode_BRCC_0, decode_UJUMP_0,
	decode_REGMV_0, decode_ALU2op_0, decode_PTR2op_0, decode_LOGI2op_0,
	decode_COMP3op_0, decode_COMPI2opD_0, decode_COMPI2opP_0,
	decode_LDSTpmod_0, decode_dagMODim_0, decode_dagMODik_0,
	decode_dspLDST_0, decode_LDST_0, decode_LDSTiiFP_0, decode_LDSTii_0,
	decode_LoopSetup_0, decode_LDIMMhalf_0, decode_CALLa_0,
	decode_LDSTidxI_0, decode_linkage_0, decode_dsp32alu_0,
	decode_dsp32shift_0, decode_dsp32shiftimm_0, decode_pseudodbg_assert_0,
	_print_insn_bfin, print_insn_bfin): Likewise.
2008-03-26 16:48:32 +00:00

42 lines
1.2 KiB
Makefile

#objdump: -dr
#name: bit
.*: +file format .*
Disassembly of section .text:
00000000 <bitclr>:
0: fc 4c BITCLR \(R4, 0x1f\);.*
2: 00 4c BITCLR \(R0, 0x0\);.*
00000004 <bitset>:
4: f2 4a BITSET \(R2, 0x1e\);.*
6: eb 4a BITSET \(R3, 0x1d\);.*
00000008 <bittgl>:
8: b7 4b BITTGL \(R7, 0x16\);.*
a: 86 4b BITTGL \(R6, 0x10\);.*
0000000c <bittst>:
c: f8 49 CC = BITTST \(R0, 0x1f\);.*
e: 01 49 CC = BITTST \(R1, 0x0\);.*
10: 7f 49 CC = BITTST \(R7, 0xf\);.*
00000012 <deposit>:
12: 0a c6 13 8a R5 = DEPOSIT \(R3, R2\);
16: 0a c6 37 c0 R0 = DEPOSIT \(R7, R6\) \(X\);
0000001a <extract>:
1a: 0a c6 0a 08 R4 = EXTRACT \(R2, R1.L\) \(Z\);
1e: 0a c6 10 04 R2 = EXTRACT \(R0, R2.L\) \(Z\);
22: 0a c6 23 4e R7 = EXTRACT \(R3, R4.L\) \(X\);
26: 0a c6 0e 4a R5 = EXTRACT \(R6, R1.L\) \(X\);
0000002a <bitmux>:
2a: 08 c6 08 00 BITMUX \(R1, R0, A0\) \(ASR\);
2e: 08 c6 13 00 BITMUX \(R2, R3, A0\) \(ASR\);
32: 08 c6 25 40 BITMUX \(R4, R5, A0\) \(ASL\);
36: 08 c6 3e 40 BITMUX \(R7, R6, A0\) \(ASL\);
0000003a <ones>:
3a: 06 c6 00 ca R5.L = ONES R0;
3e: 06 c6 02 ce R7.L = ONES R2;
...