Home | History | Annotate | Download | only in libcpu
      1 2014-04-13  Mark Wielaard  <mjw (a] redhat.com>
      2 
      3 	* Makefile.am (i386_gendis_LDADD): Remove libmudflap.
      4 
      5 2013-04-24  Mark Wielaard  <mjw (a] redhat.com>
      6 
      7 	* Makefile.am: Use AM_CPPFLAGS instead of INCLUDES.
      8 
      9 2012-10-10  Roland McGrath  <roland (a] hack.frob.com>
     10 
     11 	* Makefile.am (%_defs, $(srcdir)/%_dis.h): Redirect to temp file,
     12 	mv into place with separate command.
     13 
     14 2012-06-26  Roland McGrath  <roland (a] hack.frob.com>
     15 
     16 	* Makefile.am [!MAINTAINER_MODE] ($(srcdir)/%_dis.h): New rule.
     17 
     18 2012-02-24  Mark Wielaard  <mjw (a] redhat.com>
     19 
     20 	* Makefile.am (CLEANFILES): Move %_dis.h to...
     21 	(MAINTAINERCLEANFILES): here.
     22 
     23 2012-01-21  Ulrich Drepper  <drepper (a] gmail.com>
     24 
     25 	* i386_disasm.c (ADD_NSTRING): Define.
     26 	(i386_disasm): Print color codes in the appropriate places.
     27 
     28 2011-10-16  Roland McGrath  <roland (a] hack.frob.com>
     29 
     30 	* Makefile.am (libcpu_i386_a_SOURCES): Add i386_dis.h.
     31 	(libcpu_x86_64_a_SOURCES): Add x86_64_dis.h.
     32 	(i386_disasm.o, x86_64_disasm.o): Depend on those in $(srcdir).
     33 	(%_dis.h): Renamed target pattern to ...
     34 	($(srcdir)/%_dis.h): ... this.
     35 	(noinst_HEADERS, noinst_PROGRAMS): Put under [MAINTAINER_MODE].
     36 
     37 2010-08-16  Roland McGrath  <roland (a] redhat.com>
     38 
     39 	* Makefile.am (%_defs): New pattern rule.
     40 	(%_dis.h, %.mnemonics): Define as pattern rules using %_defs input.
     41 	(CLEANFILES): Include all those files.
     42 
     43 2010-02-15  Roland McGrath  <roland (a] redhat.com>
     44 
     45 	* Makefile.am: Use config/eu.am for common stuff.
     46 
     47 2009-04-14  Roland McGrath  <roland (a] redhat.com>
     48 
     49 	* Makefile.am (AM_CFLAGS): Add -fdollars-in-identifiers; it is not the
     50 	default on every machine.
     51 
     52 2009-01-23  Roland McGrath  <roland (a] redhat.com>
     53 
     54 	* Makefile.am (i386_parse_CFLAGS): Use quotes around command
     55 	substitution that can produce leading whitespace.
     56 
     57 2009-01-01  Ulrich Drepper  <drepper (a] redhat.com>
     58 
     59 	* i386_parse.y (instrtable_out): Optimize match_data table by not
     60 	emitting 0xff masks for leading bytes.
     61 	* i386_disasm.c (i386_disasm): Adjust reader of match_data.
     62 
     63 	* i386_disasm.c (i386_disasm): Reset bufcnt when not matched.  We
     64 	don't expect snprintf to fail.
     65 
     66 2008-12-31  Ulrich Drepper  <drepper (a] redhat.com>
     67 
     68 	* defs/i386: Add dppd, dpps, insertps, movntdqa, mpsadbw, packusdw,
     69 	pblendvb, pblendw, pcmpeqq, pcmpestri, pcmpestrm, pcmpistri, pcmpistrm,
     70 	pcmpgtq, phminposuw, pinsrb, pinsrd, pmaxsb, pmaxsd, pmaxud, pmaxuw,
     71 	pminsb, pminsd, pminud, pminuw, pmovsxbw, pmovsxbd, pmovsxbq, pmovsxwd,
     72 	pmovsxwq, pmovsxdq, pmovzxbw, pmovzxbd, pmovzxbq, pmovzxwd, pmovzxwq,
     73 	pmovzxdq, pmuldq, pmulld, popcnt, ptest, roundss, roundps, roundpd,
     74 	and roundsd opcodes.
     75 
     76 	* i386_disasm.c (i386_disasm): Correct resizing of buffer.
     77 
     78 	* i386_parse.y (struct argstring): Add off element.
     79 	(off_op_str): New global variable.
     80 	(print_op_str): Print strings as concatenated strings.  Keep track
     81 	of index and length.  Update ->off element.
     82 	(print_op_str_idx): New function.
     83 	(instrtable_out): Mark op%d_fct as const.
     84 	Emit two tables for the strings: the string itself (op%d_str) and the
     85 	index table (op%d_str_idx).
     86 	* i386_disasm.c (i386_disasm): Adjust for new op%d_str definition.
     87 
     88 	* i386_disasm.c [X86_64] (i386_disasm): Handle rex prefix when
     89 	printing only prefix.
     90 
     91 	* i386_disasm.c (i386_disasm): Minor optimizations.
     92 
     93 	* i386_parse.y (instrtable_out): No need to emit index, the reader can
     94 	keep track.
     95 	* i386_disasm.c (i386_disasm): The index is not emitted anymore, no
     96 	need to skip it.
     97 
     98 	* i386_disasm.c (amd3dnow): Mark as const.
     99 
    100 	* defs/i386: Add blendvpd and blendvps opcodes.
    101 
    102 2008-12-30  Ulrich Drepper  <drepper (a] redhat.com>
    103 
    104 	* defs/i386: Add blendpd and blendps opcodes.
    105 
    106 2008-12-19  Ulrich Drepper  <drepper (a] redhat.com>
    107 
    108 	* defs/i386: Add entry for AMD 3DNOW.
    109 	* i386_disasm.c: Implement AMD 3DNOW disassembly.
    110 
    111 2008-12-17  Ulrich Drepper  <drepper (a] redhat.com>
    112 
    113 	* i386_disasm.c (i386_disasm): If instruction matches prefix,
    114 	undoing the prefix match finishes the instruction.
    115 
    116 2008-01-21  Roland McGrath  <roland (a] redhat.com>
    117 
    118 	* defs/i386: Fix typo in comment.
    119 	* i386_disasm.c (i386_disasm): Handle cltq, cqto.
    120 
    121 	* i386_parse.y: Add sanity check for NMNES macro value.
    122 	* Makefile.am (i386_parse.o): Fix target in dependency rule.
    123 	(i386_parse.h): New target with empty commands.
    124 	(i386_lex.o): Depend on it in place of i386_parse.c.
    125 
    126 2008-01-21  Ulrich Drepper  <drepper (a] redhat.com>
    127 
    128 	* Makefile.am (EXTRA_DIST): Remove defs/x86_64.
    129 
    130 2008-01-14  Ulrich Drepper  <drepper (a] redhat.com>
    131 
    132 	* defs/i386: Add fixes for opcodes with register number in opcode,
    133 	64-bit immediate forms, nop with rex.B.
    134 	* i386_data.h [X86_64] (FCT_imm64$w): New function.
    135 	(FCT_oreg): New function.
    136 	(FCT_oreg$w): New function.
    137 	* i386_disasm.c (i386_disasm): Reinitialize fmt always before
    138 	starting the loop to process the string.  Handle 0x90 special for
    139 	x86-64.
    140 	* i386_parse.y (fillin_arg): Expand synonyms before concatening to
    141 	form the function name.
    142 
    143 2008-01-11  Ulrich Drepper  <drepper (a] redhat.com>
    144 
    145 	* i386_disasm.c (struct output_buffer): Remove symcb and symcbarg.
    146 	(i386_disasm): Remove appropriate initializers.
    147 	Use symcb to lookup symbol strings.
    148 
    149 	* i386_disasm.c (struct output_buffer): Add labelbuf, labelbufsize,
    150 	symaddr_use, and symaddr fields.
    151 	(i386_disasm): Remove labelbuf and labelbufsize variables.
    152 	Add back %e format.  Implement %a and %l formats.
    153 
    154 	* i386_data.h (general_mod$r_m): Set symaddr_use and symaddr for %rip
    155 	base addressing.
    156 
    157 	* i386_disasm.c (i386_disasm): Resize output buffer if necessary.
    158 	Optimize output_data initialization.  Free buffers before return.
    159 	(struct output_data): Remove op1str field.  Adjust code.
    160 	(i386_disasm): Store final NUL btye at end of functions.
    161 
    162 2008-01-10  Ulrich Drepper  <drepper (a] redhat.com>
    163 
    164 	* i386_data.h (FCT_crdb): New function.
    165 	(FCT_ccc): Use FCT_crdb.
    166 	(FCT_ddd): Likewise.
    167 
    168 	* defs/i386: Fix a few instructions with immediate arguments.
    169 
    170 	* i386_disasm.c: Rewrite interface to callback functions for operands
    171 	to take a single pointer to a structure.
    172 	* i386_data.h: Adjust all functions.
    173 
    174 2008-01-08  Ulrich Drepper  <drepper (a] redhat.com>
    175 
    176 	* Makefile.am: Enable x86-64 again.
    177 	* defs/i386: Lots of changes for x86-64.
    178 	* i386_data.h: Add support for use in x86-64 disassembler.
    179 	* i386_disasm.c: Likewise.
    180 	* i386_parse.y: Likewise.
    181 	* defs/x86_64: Removed.
    182 
    183 2008-01-04  Ulrich Drepper  <drepper (a] redhat.com>
    184 
    185 	* defs/i386: Cleanups, remove masks which are not needed.
    186 	Add remaining Intel opcodes.
    187 	* i386_data.h (FCT_imm8): Check for input buffer overrun.
    188 	* i386_disasm.c (i386_disasm): Likewise.
    189 	* i386_parse.y: Remove suffixes which are not needed anymore.
    190 
    191 2008-01-03  Ulrich Drepper  <drepper (a] redhat.com>
    192 
    193 	* defs/i386: Add yet more SSE instructions.
    194 
    195 2008-01-02  Ulrich Drepper  <drepper (a] redhat.com>
    196 
    197 	* i386_disasm.c (i386_disasm): Extend matcher to allow tables to
    198 	contain instructions with prefixes.
    199 	* defs/i386: Use for many SSE operations.
    200 	* i386_data.h (FCT_mmxreg2): Removed.
    201 
    202 2008-01-01  Ulrich Drepper  <drepper (a] redhat.com>
    203 
    204 	* defs/i386: More 0f prefix support.
    205 	* i386_data.h (FCT_mmxreg): Implement.
    206 	(FCT_mmxreg2): Implement.
    207 	(FCT_mmreg): Remove.
    208 	* i386_disasm.c (i386_disasm): More special instructions.
    209 	Fix tttn suffix for cmov.
    210 	* i386_parse.y: Simplify test for mod/r_m mode.
    211 
    212 2007-12-31  Ulrich Drepper  <drepper (a] redhat.com>
    213 
    214 	* defs/i386: Fix order or arguments for mov of control/debug registers.
    215 	* i386_data.h (FCT_ccc): Implement
    216 	(FCT_ddd): Implement
    217 
    218 2007-12-30  Ulrich Drepper  <drepper (a] redhat.com>
    219 
    220 	* defs/i386: Fix 0f groups 6 and 7.
    221 	* i386_data.c (FCT_mod$16r_m): Implement.
    222 	* i386_disasm.c (i386_disasm): Third parameter can also have string.
    223 
    224 2007-12-29  Ulrich Drepper  <drepper (a] redhat.com>
    225 
    226 	* defs/i386: Add lots of floating point ops.
    227 	* i386_data.h (FCT_fmod$fr_m): Removed.
    228 	(FCT_freg): Implement.
    229 	* i386_disasm.c (i386_disasm): Implement suffix_D.
    230 	* i386_parse.y: Emit suffix_D.
    231 
    232 	* defs/i386: Use rel instead of dispA.
    233 	Fix lcall, dec, div, idiv, imul, inc, jmp, ljmp, mul, neg, not, push,
    234 	test.
    235 
    236 	* i386_data.h (FCT_dispA): Removed.
    237 	(FCT_ds_xx): Add test for end of input buffer.
    238 	* i386_disasm.c (ABORT_ENTRY): Removed.
    239 	(i386_disasm): Fix handling of SIB.  Pass correct address value to
    240 	operand callbacks.
    241 
    242 	* Makefile.am (*.mnemonics): Filter out INVALID entry.
    243 	* defs/i386: Define imms8 and use in appropriate places.
    244 	Add INVALID entries for special opcodes with special mnemonics.
    245 	Fix int3.  Fix typo in shl.  Correct xlat.
    246 	* i386_data.h (FCT_ds_xx): New function.
    247 	(FCT_ds_si): Use it.
    248 	(FCT_ds_bx): New function.
    249 	(FCT_imms8): New function.
    250 	* i386_disasm.c (MNE_INVALID): Define.
    251 	(i386_disasm): Handle invalid opcodes in mnemonics printing, not
    252 	separately.  Fix address value passed to operand handlers.
    253 	* i386_parse.y (bx_reg): Define.
    254 	(instrtable_out): Handle INVALID entries differently, just use
    255 	MNE_INVALID value for .mnemonic.
    256 
    257 2007-12-28  Ulrich Drepper  <drepper (a] redhat.com>
    258 
    259 	* defs/i386: Fix shift and mov immediate instructions.
    260 	* i386_data.h (FCT_imm16): Implement.
    261 
    262 	* defs/i386: Use absval instead of abs of lcall and ljmp.
    263 	Add parameters for cmps.  Fix test and mov immediate.
    264 	* i386_data.h: Implement FCT_absval.
    265 	* i386_disasm.c: Handle data16 for suffix_w  and FCT_imm.
    266 
    267 	* defs/i386: Move entries with 0x9b prefix together.
    268 	* i386_disasm.c (i386_disasm): Fix recognizing insufficient bytes in
    269 	input.  Handle data16 with suffix_W.
    270 
    271 	* i386_data.h (FCT_*): Add end parameter to all functions.  Check
    272 	before using more bytes.
    273 	(FCT_sel): Implement.
    274 	* i386_disasm.c (i386_disasm): Better handle end of input buffer.
    275 	Specal opcode 0x99.
    276 
    277 	* Makefile.am: Use m4 to preprocess defs/* files.
    278 	* defs/i386: Adjust appropriately.
    279 	* i386_data.c (FCT_ax): Implement.
    280 	(FCT_ax$w): Use FCT_ax.
    281 	* i386_disasm.c (ADD_STRING): Use _len instead of len.
    282 	(i386_disasm): If no instruction can be matched because of lack of
    283 	input and prefixes have been matched, print prefixes.
    284 	Recognize abort entries.
    285 	Handle special cases.
    286 	* i386_gendis.c: Recognize - input file name.
    287 	* i386_lex.c: Recognize INVALID token.
    288 	* i386_parse.y: Handle INVALID token input.
    289 
    290 	* defs/i386: Fix mov, pop.
    291 	* i386_data.h (FCT_sreg3): Implement.
    292 
    293 2007-12-27  Ulrich Drepper  <drepper (a] redhat.com>
    294 
    295 	* defs/i386: Fix adc, add, cmp, or, sbb, sub, xchg, xor.
    296 	* i386_data.h (FCT_imms): New function.
    297 	(FCT_imm$s): Use FCT_imms for handling of signed values.
    298 	(FCT_imm8): Sign extend values.
    299 	* i386_disasm.c (i386_disasm): Implement suffix_w0.
    300 	* i386_parse.y: Emit suffix w0.
    301 
    302 	* i386_data.h (FCT_disp8): Add 0x prefix.
    303 	(FCT_ds_si): Implement.
    304 	* i386_disasm.c (i386_disasm): Increment addr for invalid prefixes.
    305 	Implement tttn suffix.
    306 	* i386_parse.y: Emit tttn suffix definition.
    307 
    308 2007-12-26  Ulrich Drepper  <drepper (a] redhat.com>
    309 
    310 	* i386_data.h (struct instr_enc): Use suffix field.
    311 	(FCT_dx): Fill in body.
    312 	(FCT_es_di): Likewise.
    313 	(FCT_imm$s): Sign-extended byte values.
    314 	* i386_disasm.c: Protect ADD_CHAR and ADD_STRING macros.  Adjust uses.
    315 	(i386_disasm): Handle suffix.
    316 	* i386_parse.y: Emit suffix information.
    317 	* defs/i386: Remove unnecessary suffixes.
    318 
    319 	* Makefile.am: Disable building x86-64 version for now.
    320 
    321 	* defs/i386: Fix and, bound, cmp, or, pop, sbb, sub, xor.
    322 	* i386_data.h: Pass pointer to prefix to functions.  If not prefixes
    323 	are consumed this means invalid input.
    324 	* i386_disasm.c: Fix prefix printing.  Adjust function calls for
    325 	parameter change.
    326 	* i386_parse.y: Recognize moda prefix.
    327 
    328 2007-12-21  Ulrich Drepper  <drepper (a] redhat.com>
    329 
    330 	* i386_data.h: Fix SIB handling.
    331 	* i386_disasm.c: Likewise.
    332 
    333 2007-12-19  Ulrich Drepper  <drepper (a] redhat.com>
    334 
    335 	* defs/i386: Fix up 'and' opcode.
    336 
    337 2007-10-31  Ulrich Drepper  <drepper (a] redhat.com>
    338 
    339 	* Makefile.am: Add dependencies of the generated files on the source
    340 	files.
    341 	(i386_lex_CFLAGS): Add -Wno-sign-compare.
    342 
    343 	* defs/i386: A lot more data.
    344 	* defs/x86_64: Likewise.
    345 	* i386_data.h (struct instr_enc): Add off1_3, off2_3, and off3_3
    346 	fields.
    347 	(opfct_t): Add parameter for third operand.
    348 	(FCT_*): Likewise.
    349 	(data_prefix): New function.
    350 	(FCT_abs): Implement.
    351 	(FCT_ax): Renamed to FCT_ax$w amd implement.
    352 	(FCT_disp8): Implement.
    353 	(FCT_dispA): Implement.
    354 	(FCT_imm): Implement.
    355 	(FCT_imm$w): Implement.
    356 	(FCT_imm$s): Don't zero-pad numbers.
    357 	(FCT_imm8): Likewise.
    358 	(FCT_rel): Likewise.
    359 	(general_mod$r_m): New function.
    360 	(FCT_mod$r_m): Use it.
    361 	(FCT_mod$r_m$w): New function.
    362 	(FCT_mod$8r_m): New function.
    363 	(FCT_reg): Correctly handle 16-bit registers.
    364 	(FCT_reg$w): New function.
    365 	* i386_disasm.c (i386_disasm): Handle prefixes better.
    366 	Pass third parameter to operand functions.
    367 	* i386_parse.y (struct instruction): Add off3 field.
    368 	Handle third operand throughout.
    369 
    370 2007-02-05  Ulrich Drepper  <drepper (a] redhat.com>
    371 
    372 	* i386_disasm.c: New file.
    373 	* i386_data.h: New file.
    374 	* i386_gendis.c: New file.
    375 	* i386_lex.l: New file.
    376 	* i386_parse.y: New file.
    377 	* memory-access.h: New file.
    378 	* x86_64_disasm.c: New file.
    379 	* defs/i386: New file.
    380 	* defs/i386.doc: New file.
    381 	* defs/x86_64: New file.
    382 
    383 2005-02-15  Ulrich Drepper  <drepper (a] redhat.com>
    384 
    385 	* Makefile (AM_CFLAGS): Add -Wunused -Wextra -Wformat=2.
    386 
    387 2005-02-05  Ulrich Drepper  <drepper (a] redhat.com>
    388 
    389 	* Makefile.am (AM_CFLAGS): Define, instead of adding things to DEFS.
    390 
    391 2003-08-11  Ulrich Drepper  <drepper (a] redhat.com>
    392 
    393 	* Moved to CVS archive.
    394